[opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze?

2014-08-28 Thread 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


Re: [opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze?

2014-09-04 Thread Lance Corrimal
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


Re: [opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze?

2014-09-04 Thread Nicky Perian
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
>
>
>___
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

Re: [opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze?

2014-09-04 Thread 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

-- 
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!
___
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


Re: [opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze?

2014-09-05 Thread Lance Corrimal
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


Re: [opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze?

2014-09-05 Thread Vex Streeter
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

___
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


Re: [opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze?

2014-09-05 Thread 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.


--
*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! 
___
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

Re: [opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze?

2014-09-05 Thread Henri Beauchamp
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.
___
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


Re: [opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze?

2014-09-08 Thread Lance Corrimal

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
___
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

Re: [opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze?

2014-09-12 Thread 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

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! 
___
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

Re: [opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze?

2014-09-12 Thread 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...


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

Re: [opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze?

2014-09-12 Thread 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.


___
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

Re: [opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze?

2014-09-12 Thread Lance Corrimal

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.
___
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

Re: [opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze?

2015-01-06 Thread Lance Corrimal
Am Freitag, 12. September 2014, 20:12:35 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.


I guess those packages simply do not work... They wont install since they 
require glibc 2.14, and after the failed install your debian is dead:

root@debian-build-6-2:/eregion/public/games/SL/3p/gcc backport for squeeze# 
aptitude search glibc
aptitude: /lib/libc.so.6: version `GLIBC_2.14' not found (required by 
/usr/lib/libstdc++.so.6)
aptitude: /lib/libc.so.6: version `GLIBC_2.14' not found (required by 
/lib/libgcc_s.so.1)


Not amused.

Thanks for LVM snapshots.

___
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


Re: [opensource-dev] Not actually OT: How do I get/update gcc to 4.6 on debian squeeze?

2015-01-06 Thread Nicky Perian
I have given up on Debian Squeeze. Wheezy delivers gcc-4.6.3 and the sym links 
to gcc g++ cpp etc can be changed to gcc-4.6.
Then for the viewer to run on squeeze I deliver libstc++.so with the viewer 
manifest.
That locks the build to libstc++.so that the viewer was built with. 
I have run the viewer in that configuration on a wide variety of distro's..    

 On Tuesday, January 6, 2015 9:02 AM, Lance Corrimal 
 wrote:
   
 

 Am Freitag, 12. September 2014, 20:12:35 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.


I guess those packages simply do not work... They wont install since they 
require glibc 2.14, and after the failed install your debian is dead:

root@debian-build-6-2:/eregion/public/games/SL/3p/gcc backport for squeeze# 
aptitude search glibc
aptitude: /lib/libc.so.6: version `GLIBC_2.14' not found (required by 
/usr/lib/libstdc++.so.6)
aptitude: /lib/libc.so.6: version `GLIBC_2.14' not found (required by 
/lib/libgcc_s.so.1)


Not amused.

Thanks for LVM snapshots.

___
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