From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Subject: Re: Re: musl xclock?
Date: Wed, 20 May 2015 19:00:17 +0200 [thread overview]
Message-ID: <20150520170017.GH11258@port70.net> (raw)
In-Reply-To: <20150520160502.GY17573@brightrain.aerifal.cx>
* Rich Felker <dalias@libc.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..
next prev parent reply other threads:[~2015-05-20 17:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-19 21:51 John Mudd
2015-05-19 22:13 ` Rich Felker
2015-05-20 15:28 ` John Mudd
2015-05-20 16:05 ` Rich Felker
2015-05-20 17:00 ` Szabolcs Nagy [this message]
2015-05-20 17:02 ` Szabolcs Nagy
2015-05-20 17:43 ` Rich Felker
2015-05-20 20:26 ` John Mudd
2015-05-20 20:47 ` John Mudd
2015-05-20 21:08 ` Szabolcs Nagy
2015-05-20 21:48 ` Szabolcs Nagy
2015-05-21 21:36 ` John Mudd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150520170017.GH11258@port70.net \
--to=nsz@port70.net \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).