ldconfig problem: I wish I knew

Dan Osterrath do3 at mail.inf.tu-dresden.de
Fri Oct 18 08:59:01 PDT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> I believe I first saw it when I used gcc-3.1, and in your case,
> it might be solved by dropping the --enable-kernel option, or just
> forcing i686 into the glibc build arguments.
> I first got into Linux From Scratch (LFS) because I wanted to build a
> system with Large File Support (LFS), but the interplay between the 64-bit
> and 32-bit interface sets is subtle, sometimes involving the GNU_SOURCE
> symbol beinig set at the right time (like when building your host system
> gcc, too late to change that sometimes). You can copy the ldconfig
> from your host system down into the chroot and it will probably work.
> Strange, huh? I predict that once you find a workaround you will probably
> just forget about the problem, but if you want to study it, you might wish
> to keep your current LFS system (or at least the exact build cmds used)
> around someplace because it is tricky to reproduce this problem.
>
> But it is real. Let me know how you solved it (or worked around it, if
> that counts as a solution;)

Well I'm trying to restart in a new chroot an a loop back device. Whenn the 
ldconfig program in the new glibc-build is working I'll copy the new files 
over the old one. So I dont't have to restart from scratch, as I already have 
compiled some more programs. (You can not rebuild glibc in your normal 
environment and then make install, as after about the half of installing 
there is a conflict of some still old libraries and some already new 
libraries from glibc needed by install programs as /bin/install)

BTW: This time I set CFLAGS, CXXFLAGS and LDFLAGS to the values used for all 
the other programs. CFLAGS=CXXFLAGS="-O2 -s -fomit-frame-pointer -march=i686" 
LDFLAGS="-z combreloc"

- -- 
- ----------------------------------------------------------------------
%> ln -s /dev/null /dev/brain
%> ln -s /dev/urandom /dev/world
%> dd if=/dev/world of=/dev/brain
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9sC/K9NbB8EM160MRAm2AAJ9hhzYYo5tW2E7mENsi5ohM6qL4ygCg5Xgo
Qo5O/nJ57aUwExDyr2o2ihI=
=p7Pz
-----END PGP SIGNATURE-----

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list