[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/10144] mips/ld: non-dynamic relocations refer to dynamic symbol
From: |
tg at mirbsd dot de |
Subject: |
[Bug ld/10144] mips/ld: non-dynamic relocations refer to dynamic symbol |
Date: |
1 Jan 2010 14:37:18 -0000 |
------- Additional Comments From tg at mirbsd dot de 2010-01-01 14:37 -------
Created an attachment (id=4488)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4488&action=view)
New minimal testcase
New more minimal testcase. I used an external function to make sure
gcc doesnt optimise the store to __progname away. I didnt use any
header files for simplicity, but do assume your libc has __progname.
address@hidden:~ $ gcc -O2 -g -Wall tc.c
/usr/bin/ld: non-dynamic relocations refer to dynamic symbol
__progname@@GLIBC_2.0
/usr/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
1|address@hidden:~ $ gcc -O2 -g -Wall tc.c -DUSE_EXTERN
address@hidden:~ $
This is Debian sid (a-g d-ud from aurel32s qemu image):
binutils 2.20-4
gcc 4:4.4.2-2
>From working on the autossh package, this bug did not occur
with the versions in Debian lenny.
Hope this helps.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10144
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug ld/10144] mips/ld: non-dynamic relocations refer to dynamic symbol,
tg at mirbsd dot de <=