From Lance.Corrimal at eregion.de Thu Sep 4 08:00:27 2014 From: Lance.Corrimal at eregion.de (Lance Corrimal) Date: Thu, 04 Sep 2014 17:00:27 +0200 Subject: [opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze? In-Reply-To: <1515073.HWJzpWbIf0@kumiko> References: <1515073.HWJzpWbIf0@kumiko> Message-ID: <12941482.LiHmaTq9Ld@kumiko> Hi, I guess noone else builds on linux AND tries to actually have a build environment that is exactly the same as the one Ll uses... Since it is NOT DOCUMENTED. Cheers LC am Donnerstag, 28. August 2014, 09:45:06 schrieb Lance Corrimal: > Hi gang, > > How do I upgrade gcc to 4.6 on debian squeeze? > > And what else does need to be upgraded on debian squeeze to have the > versions that LL uses? > > The wiki page about setting up a build environment on linux still talks > about gcc 4.3... > > Cheers > LC > _______________________________________________ > Policies and (un)subscribe information available here: > http://wiki.secondlife.com/wiki/OpenSource-Dev > Please read the policies before posting to keep unmoderated posting > privileges From nickyperian at yahoo.com Thu Sep 4 08:26:52 2014 From: nickyperian at yahoo.com (Nicky Perian) Date: Thu, 4 Sep 2014 08:26:52 -0700 Subject: [opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze? In-Reply-To: <12941482.LiHmaTq9Ld@kumiko> References: <1515073.HWJzpWbIf0@kumiko> <12941482.LiHmaTq9Ld@kumiko> Message-ID: <1409844412.68061.YahooMailNeo@web163203.mail.gq1.yahoo.com> Lance, Oz, plans to release as much as possible about LL linux build system. While waiting on that I am doing the following for Linux 32 bit on Kokua. Use a Debian wheezy vm. change the sym links @cpp @g++. @gcc from gcc-4.7 to gcc-4.6 as it appears to be the same compiler that LL backported to squeeze. Then when run on squeeze the libstdc++ mismatches happened. To work around that my hackish approach is to copy the build system libstdc++ into the manifest. That allows the viewer to run on squeeze without a mismatch. I don't plan to support anything older than squeeze. https://bitbucket.org/NickyP/kokua/commits/583f8df7f150aacda096cd3d134f38c4259ce75e Also, I tested on Linux Mint 17 32 bit and there were no ill effect moving forward. Nicky On Thursday, September 4, 2014 10:00 AM, Lance Corrimal wrote: > > >Hi, > > >I guess noone else builds on linux AND tries to actually have a build >environment that is exactly the same as the one Ll uses... Since it is NOT >DOCUMENTED. > >Cheers >LC >am Donnerstag, 28. August 2014, 09:45:06 schrieb Lance Corrimal: >> Hi gang, >> >> How do I upgrade gcc to 4.6 on debian squeeze? >> >> And what else does need to be upgraded on debian squeeze to have the >> versions that LL uses? >> >> The wiki page about setting up a build environment on linux still talks >> about gcc 4.3... >> >> Cheers >> LC >> _______________________________________________ >> Policies and (un)subscribe information available here: >> http://wiki.secondlife.com/wiki/OpenSource-Dev >> Please read the policies before posting to keep unmoderated posting >> privileges > > >_______________________________________________ >Policies and (un)subscribe information available here: >http://wiki.secondlife.com/wiki/OpenSource-Dev >Please read the policies before posting to keep unmoderated posting privileges > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20140904/82d2b8fa/attachment.htm From monty at lindenlab.com Thu Sep 4 11:14:53 2014 From: monty at lindenlab.com (Monty Brandenberg) Date: Thu, 04 Sep 2014 14:14:53 -0400 Subject: [opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze? In-Reply-To: <12941482.LiHmaTq9Ld@kumiko> References: <1515073.HWJzpWbIf0@kumiko> <12941482.LiHmaTq9Ld@kumiko> Message-ID: <5408AC1D.7050304@lindenlab.com> On 9/4/2014 11:00 AM, Lance Corrimal wrote: > Hi, > > > I guess noone else builds on linux AND tries to actually have a build > environment that is exactly the same as the one Ll uses... Since it is NOT > DOCUMENTED. Nobody would *want* the exact same build environment that we use. But Oz is, I believe, running down the info on the tool chain components. We're large enough that that info is stuck in a silo somewhere and we have to blast it out. m -- Monty Brandenberg | Unit of Production Skype monty.linden | Second Life Monty Linden Linden Lab | Makers of Shared Creative Spaces Check out what we're working on! From Lance.Corrimal at eregion.de Fri Sep 5 04:25:50 2014 From: Lance.Corrimal at eregion.de (Lance Corrimal) Date: Fri, 05 Sep 2014 13:25:50 +0200 Subject: [opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze? In-Reply-To: <5408AC1D.7050304@lindenlab.com> References: <1515073.HWJzpWbIf0@kumiko> <12941482.LiHmaTq9Ld@kumiko> <5408AC1D.7050304@lindenlab.com> Message-ID: <54099DBE.9090102@eregion.de> Hmm.. maybe change that build environment to something that is actually compatibel to something that users might have? as in, not using compiler versions / library versions that aren't available from official repositories for the distribution in question (prebuilt libs excluded)? Alternative: package the compiler toolchain as a prebuilt archive, d/l and unpack into the source tree on build. preferrably as statically linked stuff. cheers LC Am 04.09.2014 um 20:14 schrieb Monty Brandenberg: > On 9/4/2014 11:00 AM, Lance Corrimal wrote: >> Hi, >> >> >> I guess noone else builds on linux AND tries to actually have a build >> environment that is exactly the same as the one Ll uses... Since it is NOT >> DOCUMENTED. > Nobody would *want* the exact same build environment that we use. > But Oz is, I believe, running down the info on the tool chain > components. We're large enough that that info is stuck in a silo > somewhere and we have to blast it out. > > m > From vexstreeter at gmail.com Fri Sep 5 06:36:18 2014 From: vexstreeter at gmail.com (Vex Streeter) Date: Fri, 05 Sep 2014 09:36:18 -0400 Subject: [opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze? In-Reply-To: <54099DBE.9090102@eregion.de> References: <1515073.HWJzpWbIf0@kumiko> <12941482.LiHmaTq9Ld@kumiko> <5408AC1D.7050304@lindenlab.com> <54099DBE.9090102@eregion.de> Message-ID: <5409BC52.30109@gmail.com> Another useful option would be to build and maintain a VM image with the complete tool chain installed. It would be great to have as a reference and would let people who wanted to cross-compile do it much easier, at an obvious cost of VM overhead. Pity Windows and OSX compilers couldn't be VM-ized the same way. On 9/5/2014 7:25 AM, Lance Corrimal wrote: > Hmm.. maybe change that build environment to something that is actually > compatibel to something that users might have? as in, not using compiler > versions / library versions that aren't available from official > repositories for the distribution in question (prebuilt libs excluded)? > > Alternative: package the compiler toolchain as a prebuilt archive, d/l > and unpack into the source tree on build. preferrably as statically > linked stuff. > > > cheers > LC > > > Am 04.09.2014 um 20:14 schrieb Monty Brandenberg: >> On 9/4/2014 11:00 AM, Lance Corrimal wrote: >>> Hi, >>> >>> >>> I guess noone else builds on linux AND tries to actually have a build >>> environment that is exactly the same as the one Ll uses... Since it is NOT >>> DOCUMENTED. >> Nobody would *want* the exact same build environment that we use. >> But Oz is, I believe, running down the info on the tool chain >> components. We're large enough that that info is stuck in a silo >> somewhere and we have to blast it out. >> >> m >> > _______________________________________________ > Policies and (un)subscribe information available here: > http://wiki.secondlife.com/wiki/OpenSource-Dev > Please read the policies before posting to keep unmoderated posting privileges From oz at lindenlab.com Fri Sep 5 06:44:18 2014 From: oz at lindenlab.com (Scott Lawrence (Oz Linden)) Date: Fri, 05 Sep 2014 09:44:18 -0400 Subject: [opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze? In-Reply-To: <1515073.HWJzpWbIf0@kumiko> References: <1515073.HWJzpWbIf0@kumiko> Message-ID: <5409BE32.1070701@lindenlab.com> On 2014-08-28, 03:45 , Lance Corrimal wrote: > Hi gang, > > How do I upgrade gcc to 4.6 on debian squeeze? > > And what else does need to be upgraded on debian squeeze to have the versions > that LL uses? Sorry this has taken so long, but I got it done this morning.... I've published the sources for our backport and the debian packages from it that we install on our build hosts: https://wiki.secondlife.com/wiki/Debian_GCC_Backport and I put a pointer to that page in the Linux compilation instructions. > The wiki page about setting up a build environment on linux still talks about > gcc 4.3... I would certainly welcome any improvements to that page anyone would like to make. Alas, I don't have the time to do them myself. -- *Scott Lawrence* | /Technical Director, Second Life/ Skype ozlinden | Second Life Oz Linden Linden Lab| Makers of Shared Creative Spaces Check out what we're working on! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20140905/2dc65bad/attachment.htm From sldev at free.fr Fri Sep 5 08:01:43 2014 From: sldev at free.fr (Henri Beauchamp) Date: Fri, 5 Sep 2014 17:01:43 +0200 Subject: [opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze? In-Reply-To: <5409BE32.1070701@lindenlab.com> References: <1515073.HWJzpWbIf0@kumiko> <5409BE32.1070701@lindenlab.com> Message-ID: <20140905170143.e2f2256e.sldev@free.fr> On Fri, 05 Sep 2014 09:44:18 -0400, Scott Lawrence (Oz Linden) wrote: > I've published the sources for our backport and the debian packages from > it that we install on our build hosts: > > https://wiki.secondlife.com/wiki/Debian_GCC_Backport gcc v4.6.3 ?... You might want to update to 4.6.4. There have been quite a few bugs fixed in the latter, see: https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&query_format=advanced&resolution=FIXED&target_milestone=4.6.4 Henri. From Lance.Corrimal at eregion.de Mon Sep 8 12:10:50 2014 From: Lance.Corrimal at eregion.de (Lance Corrimal) Date: Mon, 08 Sep 2014 21:10:50 +0200 Subject: [opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze? In-Reply-To: <5409BE32.1070701@lindenlab.com> References: <1515073.HWJzpWbIf0@kumiko> <5409BE32.1070701@lindenlab.com> Message-ID: <540DFF3A.1000204@eregion.de> Am 05.09.2014 15:44, schrieb Scott Lawrence (Oz Linden): > On 2014-08-28, 03:45 , Lance Corrimal wrote: >> Hi gang, >> >> How do I upgrade gcc to 4.6 on debian squeeze? >> >> And what else does need to be upgraded on debian squeeze to have the versions >> that LL uses? > > Sorry this has taken so long, but I got it done this morning.... > > I've published the sources for our backport and the debian packages > from it that we install on our build hosts: > > https://wiki.secondlife.com/wiki/Debian_GCC_Backport > > and I put a pointer to that page in the Linux compilation instructions. >> The wiki page about setting up a build environment on linux still talks about >> gcc 4.3... > > I would certainly welcome any improvements to that page anyone would > like to make. Alas, I don't have the time to do them myself. I'm getting 'Access denied' on a few of those links. Cheers LC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20140908/f6484834/attachment.htm From nickyperian at yahoo.com Wed Sep 10 06:40:39 2014 From: nickyperian at yahoo.com (Nicky Perian) Date: Wed, 10 Sep 2014 06:40:39 -0700 Subject: [opensource-dev] Advice building library refresh colladadom for linux 64 bit platform Message-ID: <1410356439.32747.YahooMailNeo@web163201.mail.gq1.yahoo.com> This library is now static linking in the viewer. The library build when set up for -m64 desires boost to be built with -fpic. I rebuilt boost with -fpic and can build colladadom minus any unit tests. If I use the boost w/ -fpic the viewer build has link issues. I am building the viewer with boost compiled without -fpic and all seems ok. I don't like the idea of building a library with a one off boost and not following through out for all other libraries and the viewer. However, I logged to aditi and uploaded a couple simple meshes without issue, Am I missing anything? Is there a reason not to do this? Nicky Perian -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20140910/f34f97b3/attachment.htm From oz at lindenlab.com Fri Sep 12 07:16:19 2014 From: oz at lindenlab.com (Scott Lawrence (Oz Linden)) Date: Fri, 12 Sep 2014 10:16:19 -0400 Subject: [opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze? In-Reply-To: <540DFF3A.1000204@eregion.de> References: <1515073.HWJzpWbIf0@kumiko> <5409BE32.1070701@lindenlab.com> <540DFF3A.1000204@eregion.de> Message-ID: <54130033.1080000@lindenlab.com> On 2014-09-08, 15:10 , Lance Corrimal wrote: >> >> I've published the sources for our backport and the debian packages >> from it that we install on our build hosts: >> >> https://wiki.secondlife.com/wiki/Debian_GCC_Backport >> >> and I put a pointer to that page in the Linux compilation instructions. >>> The wiki page about setting up a build environment on linux still talks about >>> gcc 4.3... >> >> I would certainly welcome any improvements to that page anyone would >> like to make. Alas, I don't have the time to do them myself. > > > I'm getting 'Access denied' on a few of those links. Sorry... I forgot to escape the '+' characters in the urls... fixed now. -- *Scott Lawrence* | /Technical Director, Second Life/ Skype ozlinden | Second Life Oz Linden Linden Lab| Makers of Shared Creative Spaces Check out what we're working on! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20140912/cd35c3c6/attachment.htm From Lance.Corrimal at eregion.de Fri Sep 12 07:34:14 2014 From: Lance.Corrimal at eregion.de (Lance Corrimal) Date: Fri, 12 Sep 2014 16:34:14 +0200 Subject: [opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze? In-Reply-To: <54130033.1080000@lindenlab.com> References: <1515073.HWJzpWbIf0@kumiko> <5409BE32.1070701@lindenlab.com> <540DFF3A.1000204@eregion.de> <54130033.1080000@lindenlab.com> Message-ID: <54130466.7060004@eregion.de> Am 12.09.2014 um 16:16 schrieb Scott Lawrence (Oz Linden): > On 2014-09-08, 15:10 , Lance Corrimal wrote: >>> >>> I've published the sources for our backport and the debian packages >>> from it that we install on our build hosts: >>> >>> https://wiki.secondlife.com/wiki/Debian_GCC_Backport >>> >> I'm getting 'Access denied' on a few of those links. > > Sorry... I forgot to escape the '+' characters in the urls... fixed now. > Am I seeing things or are those 64bit packages? Guess I'll have to rebuild my build environment... I was running on 32bit squeeze in my VM... Cheers, LC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20140912/877d3df0/attachment.htm From Lance.Corrimal at eregion.de Fri Sep 12 11:12:35 2014 From: Lance.Corrimal at eregion.de (Lance Corrimal) Date: Fri, 12 Sep 2014 20:12:35 +0200 Subject: [opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze? In-Reply-To: <54130466.7060004@eregion.de> References: <1515073.HWJzpWbIf0@kumiko> <5409BE32.1070701@lindenlab.com> <540DFF3A.1000204@eregion.de> <54130033.1080000@lindenlab.com> <54130466.7060004@eregion.de> Message-ID: <54133793.5030205@eregion.de> Am 12.09.2014 um 16:34 schrieb Lance Corrimal: > Am 12.09.2014 um 16:16 schrieb Scott Lawrence (Oz Linden): >> On 2014-09-08, 15:10 , Lance Corrimal wrote: >>>> >>>> I've published the sources for our backport and the debian packages >>>> from it that we install on our build hosts: >>>> >>>> https://wiki.secondlife.com/wiki/Debian_GCC_Backport >>>> >>> I'm getting 'Access denied' on a few of those links. >> >> Sorry... I forgot to escape the '+' characters in the urls... fixed now. >> > > Am I seeing things or are those 64bit packages? > > Guess I'll have to rebuild my build environment... I was running on > 32bit squeeze in my VM... > Could it be that there's stuff missing on that page? I'm getting dependency errors when I try to install those packages... dpkg: dependency problems prevent configuration of cpp-4.6: cpp-4.6 depends on libc6 (>= 2.14); however: Version of libc6:amd64 on system is 2.13-38+deb7u4. cpp-4.6 depends on libgmp3c2; however: Package libgmp3c2 is not installed. cpp-4.6 depends on libmpc2; however: Package libmpc2 is not installed. cpp-4.6 depends on libmpfr4; however: Package libmpfr4 is not installed. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20140912/7108b180/attachment.htm From Lance.Corrimal at eregion.de Fri Sep 12 11:25:09 2014 From: Lance.Corrimal at eregion.de (Lance Corrimal) Date: Fri, 12 Sep 2014 20:25:09 +0200 Subject: [opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze? In-Reply-To: <54133793.5030205@eregion.de> References: <1515073.HWJzpWbIf0@kumiko> <5409BE32.1070701@lindenlab.com> <540DFF3A.1000204@eregion.de> <54130033.1080000@lindenlab.com> <54130466.7060004@eregion.de> <54133793.5030205@eregion.de> Message-ID: <54133A85.6060909@eregion.de> Am 12.09.2014 um 20:12 schrieb Lance Corrimal: > Am 12.09.2014 um 16:34 schrieb Lance Corrimal: >> Am 12.09.2014 um 16:16 schrieb Scott Lawrence (Oz Linden): >>> On 2014-09-08, 15:10 , Lance Corrimal wrote: >>>>> >>>>> I've published the sources for our backport and the debian >>>>> packages from it that we install on our build hosts: >>>>> >>>>> https://wiki.secondlife.com/wiki/Debian_GCC_Backport >>>>> >>>> I'm getting 'Access denied' on a few of those links. >>> >>> Sorry... I forgot to escape the '+' characters in the urls... fixed now. >>> >> >> Am I seeing things or are those 64bit packages? >> >> Guess I'll have to rebuild my build environment... I was running on >> 32bit squeeze in my VM... >> > > Could it be that there's stuff missing on that page? > > I'm getting dependency errors when I try to install those packages... > > dpkg: dependency problems prevent configuration of cpp-4.6: > cpp-4.6 depends on libc6 (>= 2.14); however: > Version of libc6:amd64 on system is 2.13-38+deb7u4. > cpp-4.6 depends on libgmp3c2; however: > Package libgmp3c2 is not installed. > cpp-4.6 depends on libmpc2; however: > Package libmpc2 is not installed. > cpp-4.6 depends on libmpfr4; however: > Package libmpfr4 is not installed. ...and now my freshly installed squeeze is dead. yay. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20140912/df0101e5/attachment.htm