GCC & DESTDIR

Chris Staub chris at beaker67.com
Sat Feb 7 19:36:06 PST 2009


Jack Stone wrote:
> Hello All,
> 
> I'm having a problem with GCC pass 2 in 6.4.
> 
> If I add DESTDIR=/foo/blah to the make install then GCC fails to compile
>  Glibc properly - stack unwind support doesn't work.
> 
> Installing without the destdir works perfectly.
> 
> Details:
> 
> Using tar jpcf and jpxf to copy destdir contents to the root.
> 
> I tried running ldconfig -r root, ldconfig -n /tools/lib and libtool
> --mode=finish /tools/lib none of which solved the problem.
> 
> I can provide logs, build scripts etc but the problem is reproducible
> without using them.
> 
> Thanks,
> 
> Jack

I don't see a "problem" other than a user attempting something that 
simply isn't supposed to be done. Everything in chapter 5 is meant to be 
installed into /tools. In any case, you haven't provided the exact 
details - what DESTDIR did you use and what exactly was your configure 
command?



More information about the lfs-support mailing list