|
Message-ID: <20150520170017.GH11258@port70.net> Date: Wed, 20 May 2015 19:00:17 +0200 From: Szabolcs Nagy <nsz@...t70.net> To: musl@...ts.openwall.com Subject: Re: Re: musl xclock? * Rich Felker <dalias@...c.org> [2015-05-20 12:05:02 -0400]: > On Wed, May 20, 2015 at 11:28:50AM -0400, John Mudd wrote: > > /usr/lib/gcc/i686-linux-gnu/4.8/. Clock.o xclock.o -lX11 -lXaw7 -lXft > > ...and the only mildly suspicious thing is this last -L. Is it > possible that your distro has glibc libc.so in the same directory as > the gcc libs dir, /usr/lib/gcc/i686-linux-gnu/4.8/? > it seems to be an ubuntu gcc libc.so should not be in that dir but libstdc++.so is there (which has libc.so.6 and ld-linux-x86-64.so.2 dependency among others) if the problem is what i think it is then an empty ld-linux-x86.so.2 may fix it > > -lxkbfile -lXmu -lXrender -lXt /usr/lib/gcc/i686-linux-gnu/4.8/libgcc.a > > /usr/lib/gcc/i686-linux-gnu/4.8/libgcc_eh.a -lc > > /usr/lib/gcc/i686-linux-gnu/4.8/libgcc.a > > /usr/lib/gcc/i686-linux-gnu/4.8/libgcc_eh.a > > /usr/lib/gcc/i686-linux-gnu/4.8/crtend.o > > /home/mudd/musl/musl-1.1.8.install/lib/crtn.o > > /usr/bin/ld: h_errno: TLS definition in //lib/i386-linux-gnu/libc.so.6 > > section .tbss mismatches non-TLS definition in > > /home/mudd/musl/musl-1.1.8.install/lib/libc.so section .bss > > //lib/i386-linux-gnu/libc.so.6: error adding symbols: Bad value > > collect2: error: ld returned 1 exit status > > It's odd that //lib appears in the above output since that has nothing > to do with the -L pathnames above and it has a gratuitous double slash > at the beginning. > > What distro are you using? > the first / comes from the default sysroot (gcc was built with --with-sysroot=/) and i think gcc falls back to that when it does not find something in the specified places..
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.