Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: Embedded

Segfaults after upgrading uclibc

 

 

Gentoo embedded RSS feed   Index | Next | Previous | View Threaded


lists at wildgooses

Jun 25, 2009, 4:05 PM

Post #1 of 4 (909 views)
Permalink
Segfaults after upgrading uclibc

Hi, I have just tried to upgrade a build from uclibc0.9.28.3-r3 to
0.9.30.1-r1

Now pretty much everything segfaults, qmerge won't run reporting a
problem with libcrypto.so and I rescued the situation by simply untaring
the last tbz2 over the file system

Tried it again with flag uclibc-compat and same problem.

Actual flags in use are:
hardened ipv6 minimal uclibc-compat


This is a hardened + uclibc build on i386 with the usual old gcc 3.4.6

Can anyone please tell me what I am missing?

Thanks

Ed W


solar at gentoo

Jun 25, 2009, 4:37 PM

Post #2 of 4 (843 views)
Permalink
Re: Segfaults after upgrading uclibc [In reply to]

On Fri, 2009-06-26 at 00:05 +0100, Ed W wrote:
> Hi, I have just tried to upgrade a build from uclibc0.9.28.3-r3 to
> 0.9.30.1-r1
>
> Now pretty much everything segfaults, qmerge won't run reporting a
> problem with libcrypto.so and I rescued the situation by simply untaring
> the last tbz2 over the file system
>
> Tried it again with flag uclibc-compat and same problem.
>
> Actual flags in use are:
> hardened ipv6 minimal uclibc-compat
>
>
> This is a hardened + uclibc build on i386 with the usual old gcc 3.4.6
>
> Can anyone please tell me what I am missing?

uclibc and hardened are current at odd with each other. Current uclibc
demands a newer gcc than what is provided in tree.

The upgrade woes of going from old uclibc to current uclibc are a little
painful till you get most of the things rebuilt.

It might just be simpler to use the .tbz2 off the tinderbox if you are
on an x86 or ppc platform.

Good luck.

--
Ned Ludd <solar [at] gentoo>
Gentoo Linux


lists at wildgooses

Jun 25, 2009, 4:47 PM

Post #3 of 4 (850 views)
Permalink
Re: Segfaults after upgrading uclibc [In reply to]

Hi

Thanks for the tips.

> uclibc and hardened are current at odd with each other. Current uclibc
> demands a newer gcc than what is provided in tree.
>

Could this be the problem also?
http://lists.uclibc.org/pipermail/uclibc/2008-November/041404.html

Not yet tested this...

> The upgrade woes of going from old uclibc to current uclibc are a little
> painful till you get most of the things rebuilt.
>
> It might just be simpler to use the .tbz2 off the tinderbox if you are
> on an x86 or ppc platform.
>

I'm on x86 - however, can you clarify exactly what you mean by the above?

Are you suggesting that I *can* stick with old gcc, just wiggle my way
up using precompiled uclibc and then revert back to compiling locally?

Thanks for the reply

Ed W


lists at wildgooses

Jun 26, 2009, 2:43 AM

Post #4 of 4 (871 views)
Permalink
Re: Segfaults after upgrading uclibc 2.9.30 + gcc 3.4.6 [In reply to]

Ed W wrote:
> Hi
>
> Thanks for the tips.
>
>> uclibc and hardened are current at odd with each other. Current uclibc
>> demands a newer gcc than what is provided in tree.
>
> Could this be the problem also?
> http://lists.uclibc.org/pipermail/uclibc/2008-November/041404.html

Update (and for the benefit of anyone else):

- It appears that gcc 3.4.6 doesn't properly compile uclibc 2.9.30 and
in particular the -fomit-frame-pointer causes problems for anything
linked to -lpthread

There is a patch to uclibc here
http://lists.uclibc.org/pipermail/uclibc/2008-November/041416.html

I will create a bug report and file it (if any maintainer is watching
here then perhaps you could just slap it in directly anyway?). Tested
here on x86, compiled with gcc3.4.6 and all seems fine.

The upgrade had minor problems breaking openssl, but curiously
revdep-rebuild isn't effective in finding broken packages (I guess
nothing rev-ed for it to spot it was broken). Rebuilding world right
now which is flagging up loads more broken packages...

I guess the road ahead is going to continue to be rocky with
uclibc+gcc3.4...

Ed W

Gentoo embedded RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.