alpha/linux does not like weak+hidden+extern functions ?

Mike Frysinger vapier@gentoo.org
Thu Feb 16 04:51:00 GMT 2006


i've been poking at the alpha/uClibc port of late when i hit a little snag ...

basically in the uclibc init function, there is an optional stdio init 
step ... without getting into details, ive attached a reduced testcase ... 
when trying to build for alpha, i get:
$ alpha-gentoo-linux-uclibc-gcc -nostdlib alpha-hidden-weak.c
In function `_start': relocation truncated to fit: GPRELHIGH against undefined 
symbol `_stdio_init'

the other arches ive tested (pretty much all of the linux ones) are just fine 
with this code ... normally i'm using binutils 2.16.1 but 2.16.91.0.6 fails 
in the same manner ...
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alpha-hidden-weak.c
Type: text/x-csrc
Size: 273 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20060216/42925663/attachment.bin>


More information about the Binutils mailing list