This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
incremental link does not work with static vars
- To: <gnu-win32 at cygnus dot com>
- Subject: incremental link does not work with static vars
- From: "Alexander Smishlajev" <als at turnhere dot com>
- Date: Fri, 6 Feb 1998 10:07:32 +0200
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.
ld-r_bug.zip (ZIP archive)