incremental link does not work with static vars
Alexander Smishlajev
als@turnhere.com
Fri Feb 6 00:09:00 GMT 1998
when i try to link incrementally (ld -r) sources with static variables
defined, i get following errors:
MORESUBS.o(.bss+0x400000):bugd.c: multiple definition of `_bss_start__'
SUBS.o(.bss+0x400000):bugb.c: first defined here
MORESUBS.o(.bss+0x400004):bugd.c: multiple definition of `_bss_end__'
SUBS.o(.bss+0x400004):bugb.c: first defined here
make: *** [all] Error 1
ld --version reports: GNU ld cygnus-2.8.1
the source that led to the problem is attached below.
is there any workaround available?
best wishes,
alex.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ld-r_bug.zip
Type: application/zip
Size: 919 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/19980206/ee749369/attachment.zip>
More information about the Cygwin
mailing list