[Bug 466] GCC compiled with --enable-__cxa_atexit causes segfaults in uic (part -f qt)

Gerard Beekmans gerard at linuxfromscratch.org
Tue Jan 14 12:09:30 PST 2003

On January 12, 2003 06:03 am, Gordon Mackay wrote:
> Nope. I recompiled gcc without --enable-_cxa_atexit, then recompiled
> glibc. Qt still segfaulted until I recompiled it, then it was fine. My
> system is PURE lfs, so I'm speculating that maybe your system has non
> lfs c++ libraries

QT is a complex package. Recompiling Glibc can just as well be a coincidense. 
The problem might very well lie in another library, such as the jpeg, png, 
gif and such libraries. Maybe recompiling Glibc made those other libraries 
work nicely but it would be considered a work-around, not a fix.

To track this down you would have to recompile everything that QT relies upon 
and see if that doesn't cause for different outcomes.

I too have compiled QT and KDE and did not have any problems. My LFS system is 
compiled by-the-book. Guaranteed.

Have you used 'strace'? You can use it to track system calls made from 
programs and the libraries it loads. By looking at the chunk of output before 
the segmentation fault occurs you might see what it was trying to do what 
made it crash.

Gerard Beekmans

-*- If Linux doesn't have the solution, you have the wrong problem -*-
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-book' in the subject header of the message

More information about the lfs-book mailing list