This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

arm "local symbol `_dl_tls_static_nelem" and DSO


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]