public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* arm "local symbol `_dl_tls_static_nelem" and DSO
@ 2011-10-25 19:52 M P
  2011-10-26 13:08 ` M P
  0 siblings, 1 reply; 2+ messages in thread
From: M P @ 2011-10-25 19:52 UTC (permalink / raw)
  To: crossgcc

I'm trying to upgrade my toolchain, after seeing the 10.13.0 release
uClibv 0.90.2 as 'stable'

CFLAGS="-Os -march=armv4t -mtune=arm920t -mthumb-interwork -mthumb"

I first tried it "optimistic":
+ 4.6.1, gold,ld, thumb and native threads
 This fails to compile the uClibc, somewhere in "fork" where it runs
out of registers somehow
+ 4.6.1, gold,ld, arm and native threads
 This builds the toolchain, but the toolchain fails to link anything,
including gdbserver or anything else
+ 4.6.1, arm and native threads
 Now this one is close, but it fails to compile dbus (at least) with
some strange errors (see below)

Anyone can help getting /that/ to work ? It'd be really nice to have
native threads at last!

Michael

/opt/minifs/toolchain/arm-v4t-linux-uclibcgnueabi/lib/gcc/arm-v4t-linux-uclibcgnueabi/4.6.1/../../../../arm-v4t-linux-uclibcgnueabi/bin/ld:
dbus-daemon-launch-helper: local symbol `_dl_tls_static_nelem' in
/opt/minifs/toolchain/arm-v4t-linux-uclibcgnueabi/arm-v4t-linux-uclibcgnueabi/sysroot/lib/ld-uClibc.so.0
is referenced by DSO
/opt/minifs/toolchain/arm-v4t-linux-uclibcgnueabi/lib/gcc/arm-v4t-linux-uclibcgnueabi/4.6.1/../../../../arm-v4t-linux-uclibcgnueabi/bin/ld:
final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [dbus-daemon-launch-helper] Error 1
make[2]: *** Waiting for unfinished jobs....
/opt/minifs/toolchain/arm-v4t-linux-uclibcgnueabi/lib/gcc/arm-v4t-linux-uclibcgnueabi/4.6.1/../../../../arm-v4t-linux-uclibcgnueabi/bin/ld:
dbus-daemon-launch-helper-test: local symbol `_dl_tls_static_nelem' in
/opt/minifs/toolchain/arm-v4t-linux-uclibcgnueabi/arm-v4t-linux-uclibcgnueabi/sysroot/lib/ld-uClibc.so.0
is referenced by DSO
/opt/minifs/toolchain/arm-v4t-linux-uclibcgnueabi/lib/gcc/arm-v4t-linux-uclibcgnueabi/4.6.1/../../../../arm-v4t-linux-uclibcgnueabi/bin/ld:
final link failed: Bad value
collect2: ld returned 1 exit status

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: arm "local symbol `_dl_tls_static_nelem" and DSO
  2011-10-25 19:52 arm "local symbol `_dl_tls_static_nelem" and DSO M P
@ 2011-10-26 13:08 ` M P
  0 siblings, 0 replies; 2+ messages in thread
From: M P @ 2011-10-26 13:08 UTC (permalink / raw)
  To: crossgcc

On Tue, Oct 25, 2011 at 8:52 PM, M P <buserror@gmail.com> wrote:
[snip]
> Anyone can help getting /that/ to work ? It'd be really nice to have
> native threads at last!
>
[snip]
> /opt/minifs/toolchain/arm-v4t-linux-uclibcgnueabi/arm-v4t-linux-uclibcgnueabi/sysroot/lib/ld-uClibc.so.0
> is referenced by DSO

It turns out I also had updated the binutils to the experimental
2.21.53 -- long story short, it doesn't work and is the cause of the
problem. I reverted to 2.21.1a and it now all build, including nptl.

Michael

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-26 13:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-25 19:52 arm "local symbol `_dl_tls_static_nelem" and DSO M P
2011-10-26 13:08 ` M P

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 read-only IMAP folder(s) and NNTP newsgroup(s).