[opensource-dev] Current release source does not build on opensuse

Nicky Perian nickyperian at yahoo.com
Fri Jul 5 14:24:42 PDT 2013


Nope,

Only thing I can suggest is rebuild of 3p-google-breakpad with gcc-4.7. Easily said but, I would think not easily done. 

I have put any additional work on gcc-4.7 on hold (pending LL interest) since building with gcc-4.6 worked fine.

Nicky




>________________________________
> From: Lance Corrimal <Lance.Corrimal at eregion.de>
>To: opensource-dev at lists.secondlife.com 
>Sent: Friday, July 5, 2013 2:58 PM
>Subject: Re: [opensource-dev] Current release source does not build on opensuse
> 
>
>So i patched those three changesets in, and I get this compile error:
>
>
>[  285s] In file included from /home/abuild/rpmbuild/BUILD/viewer-
>release/build-linux-
>i686/packages/include/google_breakpad/client/linux/minidump_writer/minidump_writer.h:39:0,
>[  285s]                  from /home/abuild/rpmbuild/BUILD/viewer-
>release/build-linux-
>i686/packages/include/google_breakpad/exception_handler.h:44,
>[  285s]                  from /home/abuild/rpmbuild/BUILD/viewer-
>release/indra/llcommon/llapp.cpp:50:
>[  285s] /home/abuild/rpmbuild/BUILD/viewer-release/build-linux-
>i686/packages/include/google_breakpad/client/linux/minidump_writer/linux_dumper.h:53:15: 
>warning: ISO C++ forbids declaration of 'typeof' with no type [-fpermissive]
>[  285s] /home/abuild/rpmbuild/BUILD/viewer-release/build-linux-
>i686/packages/include/google_breakpad/client/linux/minidump_writer/linux_dumper.h:53:15: 
>error: typedef 'google_breakpad::typeof' is initialized (use decltype instead)
>[  285s] /home/abuild/rpmbuild/BUILD/viewer-release/build-linux-
>i686/packages/include/google_breakpad/client/linux/minidump_writer/linux_dumper.h:63:15: 
>warning: ISO C++ forbids declaration of 'typeof' with no type [-fpermissive]
>[  285s] /home/abuild/rpmbuild/BUILD/viewer-release/build-linux-
>i686/packages/include/google_breakpad/client/linux/minidump_writer/linux_dumper.h:63:15: 
>error: typedef 'google_breakpad::typeof' is initialized (use decltype instead)
>[  285s] /home/abuild/rpmbuild/BUILD/viewer-release/build-linux-
>i686/packages/include/google_breakpad/client/linux/minidump_writer/linux_dumper.h:82:3: 
>error: 'debugreg_t' does not name a type
>[  285s] /home/abuild/rpmbuild/BUILD/viewer-release/build-linux-
>i686/packages/include/google_breakpad/client/linux/minidump_writer/linux_dumper.h:127:25: 
>error: 'elf_aux_val_t' was not declared in this scope
>[  285s] /home/abuild/rpmbuild/BUILD/viewer-release/build-linux-
>i686/packages/include/google_breakpad/client/linux/minidump_writer/linux_dumper.h:127:38: 
>error: template argument 1 is invalid
>[  285s] /home/abuild/rpmbuild/BUILD/viewer-release/build-linux-
>i686/packages/include/google_breakpad/client/linux/minidump_writer/linux_dumper.h:205:19: 
>error: 'elf_aux_val_t' was not declared in this scope
>[  285s] /home/abuild/rpmbuild/BUILD/viewer-release/build-linux-
>i686/packages/include/google_breakpad/client/linux/minidump_writer/linux_dumper.h:205:32: 
>error: template argument 1 is invalid
>
>
>any hints?
>
>
>cheers,
>LC
>
>
>
>Am Freitag, 5. Juli 2013, 19:28:11 schrieb Lance Corrimal:
>> the last three changesets you say?
>> I'll just hg diff them i guess.
>> 
>> 
>> cheers
>> LC
>> 
>> Am Freitag, 5. Juli 2013, 08:59:10 schrieb Nicky Perian:
>> > https://bitbucket.org/NickyP/viewer-development-open-172/overview
>> > 
>> > You likely have most of these since you are the source of some of changes.
>> > 
>> > hg clone
>> > use tortoisehg
>> > change the type of the top 3 cs to draft
>> > import those to mq
>> > qpop or in tortoisehg remove to put them in the queue (if it complains hg
>> > qnew kickstartmq -m"trash patch to put mq in play") now 4 instead 3
>> > changes
>> > hg fetch viewer-release
>> > hg qdelete kickstartmq
>> > qpush the three remaining cs from the queue to the updated v-r
>> > build with gcc-4.7
>> > 
>> > or you can qpop the 3 change sets and then hg qimport them to your
>> > existing
>> > v-r after qpop the patches will be in .hg/patches directory so you qpop
>> > them for there
>> > 
>> > another way would be to clone and then hg diff the 3 changes.
>> > 
>> > >________________________________
>> > >
>> > > From: Lance Corrimal <Lance.Corrimal at eregion.de>
>> > >
>> > >To: opensource-dev at lists.secondlife.com; Nicky Perian
>> > ><nickyperian at yahoo.com> Sent: Friday, July 5, 2013 9:42 AM
>> > >Subject: Re: [opensource-dev] Current release source does not build on
>> > >opensuse
>> > >
>> > >
>> > >Here's the problem, on openSUSE 12.2 or 12.3 I can have gcc 3.3, gcc 4.1,
>> > >gcc 4.3 or gcc 4.7. No 4.6.
>> > >
>> > >
>> > >cheers,
>> > >LC
>> > >
>> > >Am Freitag, 5. Juli 2013, 03:04:54 schrieb Nicky Perian:
>> > >> I think LL is using gcc 4.6. On newer Debian (Wheezy) the default is
>> > >> 4.7
>> > >> but 4.6 can be installed along side and symbolic links used to point
>> > >> gcc==>gcc-4.6 and g++==>g++-4.6. Or use update-alternatives procedure
>> > >> or
>> > >> whatever opensuse calls it to put gcc 4.6 in play.
>> > >> 
>> > >> I have not built the current v-r on linux. The v-r merged Kokua does
>> > >> not
>> > >> have this problem with using 4.3.
>> > >> 
>> > >> >________________________________
>> > >> >
>> > >> > From: Lance Corrimal <Lance.Corrimal at eregion.de>
>> > >> >
>> > >> >To: opensource-dev at lists.secondlife.com
>> > >> >Sent: Friday, July 5, 2013 3:35 AM
>> > >> >Subject: [opensource-dev] Current release source does not build on
>> > >> >opensuse
>> > >> >
>> > >> >
>> > >> >Hi all,
>> > >> >
>> > >> >I'm trying to build a current hg checkout of viewer-release (28467),
>> > >> >and
>> > >> >the build falls at the final linking stage with the following error:
>> > >> >
>> > >> >[14566s]
>> > >> >/usr/lib/gcc/i586-suse-linux/4.3/../../../../i586-suse-linux/bin/ld:
>> > >> >secondlife-bin: hidden symbol `void
>> > >> >LLPanelFace::getTEMaterialValue<float,
>> > >> >float, &(LLMaterial::getNormalOffsetX() const)>(float&, bool&, float)'
>> > >> >isn't defined [14566s]
>> > >> >/usr/lib/gcc/i586-suse-linux/4.3/../../../../i586-suse-linux/bin/ld:
>> > >> >final
>> > >> >link failed: Bad value [14566s] collect2: ld returned 1 exit status
>> > >> >
>> > >> >
>> > >> >Interestingly enough, it only fails on opensuse 12.2 and 12.3, but not
>> > >> >on
>> > >> >12.1, maybe related to the fact that on the newer two I have to use
>> > >> >gcc
>> > >> >4.3 to build, the default gcc on them doesn't even get that far...
>> > >> >
>> > >> >Any hints, or maybe patches to make the default gcc, I think it's 4.7,
>> > >> >accept the sources?
>> > >> >
>> > >> >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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20130705/c88913b3/attachment-0001.htm 


More information about the opensource-dev mailing list