Up to 7 FREE Copies of Build A World (25 EUR each)

Competitions for Irrlicht or 3D in general.
Irrlicht Screenshot of the Month: Winner for January, vote for February, submit for March

Up to 7 FREE Copies of Build A World (25 EUR each)

Postby devsh » Thu Jul 25, 2013 9:56 pm

This includes 6 months of cloud service..

What do you have to do???

Build GLIBC from source so that we dont have to force people to get ubuntu 12.04+ or copy steam glibc libraries!

https://www.buildaworld.net/forum/show- ... s-6-months
We chose to stream mesh data from Multiple OpenGL Contexts in many threads and do the other things, not because they are easy, but because they are hard! - JFK
User avatar
devsh
Competition winner
 
Posts: 1769
Joined: Tue Dec 09, 2008 6:00 pm
Location: UK

Re: Up to 7 FREE Copies of Build A World (25 EUR each)

Postby hendu » Fri Jul 26, 2013 12:22 pm

Seems you're not familiar with linux best practises... Also, your competition does not do what you think it does. You cannot drop in a libc version and expect your current compiler to work with it, the whole toolchain must be compiled against that version. You *cannot* just drop in the lib and expect your binary to work either.

How to build a binary that works most everywhere, in a nutshell: Build your distribution binaries in a Debian Stable VM, not on your dev system.
hendu
 
Posts: 2587
Joined: Sat Dec 18, 2010 12:53 pm

Re: Up to 7 FREE Copies of Build A World (25 EUR each)

Postby Cube_ » Fri Jul 26, 2013 6:51 pm

well the competition did say that one might have to build a fresh binutils and gcc as well, I just happen to have a fresh copy of both compiled for the 3.8.5 kernel (they run fine on 3.9.9.1 and 3.10 as well, also on 3.2 (should run on 2.6+)
"this is not the bottleneck you are looking for"
User avatar
Cube_
 
Posts: 1011
Joined: Mon Oct 24, 2011 10:03 pm
Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d

Re: Up to 7 FREE Copies of Build A World (25 EUR each)

Postby Nadro » Mon Jul 29, 2013 8:12 am

One tip from my side. If you don't want to force peoples to install GLIBC eg. 2.15+ you can following code to force lower GLIBC compatibility (you have to include it to all your libraries before compile):
cpp Code: Select all
asm (".symver memcpy, memcpy@GLIBC_2.2.5");

Upper code will force memcpy from GLIBC 2.2.5 instead of 2.14 for x64 platforms (you can do similar tricks for other functions). It's definitly better solution than rebuild whole glibc, because as Hendu said it doesn't work in this way. Anyway Hendu's solution is also good.
Nadro
 
Posts: 1647
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Up to 7 FREE Copies of Build A World (25 EUR each)

Postby devsh » Sun Aug 04, 2013 11:36 am

dear hendu... I have made some VMs, seems to be the simplest solution
We chose to stream mesh data from Multiple OpenGL Contexts in many threads and do the other things, not because they are easy, but because they are hard! - JFK
User avatar
devsh
Competition winner
 
Posts: 1769
Joined: Tue Dec 09, 2008 6:00 pm
Location: UK

Re: Up to 7 FREE Copies of Build A World (25 EUR each)

Postby Cube_ » Sun Aug 04, 2013 4:11 pm

I'd say a chroot environment is the simplest solution (I generally put mine in /mnt/clean with all appropriate subdirectories and environment variables set to point to the appropriate relative "file system", the only issue is that this requires that you compile the kernel and pretty much everything yourself to make sure that you have a clean environment)
"this is not the bottleneck you are looking for"
User avatar
Cube_
 
Posts: 1011
Joined: Mon Oct 24, 2011 10:03 pm
Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d

Re: Up to 7 FREE Copies of Build A World (25 EUR each)

Postby devsh » Tue Aug 06, 2013 7:42 pm

so a VM is really the simplest solution :D
We chose to stream mesh data from Multiple OpenGL Contexts in many threads and do the other things, not because they are easy, but because they are hard! - JFK
User avatar
devsh
Competition winner
 
Posts: 1769
Joined: Tue Dec 09, 2008 6:00 pm
Location: UK

Re: Up to 7 FREE Copies of Build A World (25 EUR each)

Postby Cube_ » Wed Aug 07, 2013 12:22 am

devsh wrote:so a VM is really the simplest solution :D


Well, that really depends on the setup, a chroot is the easiest for *me* due to my system setup :P (mostly because I have a clean environment available for working on my own linux distro (really just a hobby hack, nothing special))
"this is not the bottleneck you are looking for"
User avatar
Cube_
 
Posts: 1011
Joined: Mon Oct 24, 2011 10:03 pm
Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d


Return to Competition Time!

Who is online

Users browsing this forum: No registered users and 1 guest