From: als AT turnhere DOT com (Alexander Smishlajev) Subject: incremental link does not work with static vars 6 Feb 1998 04:03:50 -0800 Message-ID: <08082957901063.cygnus.gnu-win32@tkb.lv> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_01BD32E7.0A16C320" Content-Transfer-Encoding: 7bit To: This is a multi-part message in MIME format. ------=_NextPart_000_01BD32E7.0A16C320 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit 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. ------=_NextPart_000_01BD32E7.0A16C320 Content-Type: application/octet-stream; name="ld-r_bug.zip" Content-Transfer-Encoding: base64 Content-Description: ld-r_bug.zip (ZIP archive) Content-Disposition: attachment; filename="ld-r_bug.zip" UEsDBBQAAgAIAPtyRST5eJnrfgAAAM8AAAAFAAAAYnVnLmNNjUEKwjAQRfcDucOnRUhRvEDVk7hp kqoDJTXpxI14d5tYJKvP+/x507K3U3IjTos4no+Pi6K27iY2pVTEXmDSfdBd/wdTg63BFVC0yCBs kdvQVxr9mtl1eCtCwHkTY/9zlrRbZhPW2TOupzeNZsdX3xwQ8gPEUVL0xf1R9AVQSwMEFAACAAgA ZX9FJI1WRWAoAAAAKQAAAAYAAABidWdhLmMrLkksyUxWyMwrUUi05uUC0Uml6YkamgrVCkWpJaVF eQpG1gq1vFwAUEsDBBQAAgAIAGJ/RSSOkoS0IQAAACIAAAAGAAAAYnVnYi5jy8wrUUiy5uXKBNGl 6UkamgrVCkWpJaVFeQrG1gq1vFwAUEsDBBQAAgAIAFZ/RSTUpjVxKAAAACkAAAAGAAAAYnVnYy5j Ky5JLMlMVsjMK1FItublAtFJpenJGpoK1QpFqSWlRXkKptYKtbxcAFBLAwQKAAIAAABYf0UkHkLX 8CIAAAAiAAAABgAAAGJ1Z2QuY2ludCBkOw0KaW50IGJ1Z2QoKSB7IHJldHVybiA2OyB9DQpQSwME FAACAAgAK39FJAoe0LheAAAA2QAAAAgAAABNYWtlZmlsZUvMybFSSCpN18tXCA51CgZSvv5BrhAm LxdnToqCbpGCbr5CWn4+UA6nQl4uCAtsViJEZRKqCVBdaPK8XAhjwJqTIZIpqJoRitDVgGByTmpi nhVQfVGugm6aghZIHABQSwECFQsUAAIACAD7ckUk+XiZ634AAADPAAAABQAAAAAAAAABACAAtoEA AAAAYnVnLmNQSwECFQsUAAIACABlf0UkjVZFYCgAAAApAAAABgAAAAAAAAABACAAtoGhAAAAYnVn YS5jUEsBAhULFAACAAgAYn9FJI6ShLQhAAAAIgAAAAYAAAAAAAAAAQAgALaB7QAAAGJ1Z2IuY1BL AQIVCxQAAgAIAFZ/RSTUpjVxKAAAACkAAAAGAAAAAAAAAAEAIAC2gTIBAABidWdjLmNQSwECFQsK AAIAAABYf0UkHkLX8CIAAAAiAAAABgAAAAAAAAABACAAtoF+AQAAYnVnZC5jUEsBAhULFAACAAgA K39FJAoe0LheAAAA2QAAAAgAAAAAAAAAAQAgALaBxAEAAE1ha2VmaWxlUEsFBgAAAAAGAAYAOQEA AEgCAAAAAA== ------=_NextPart_000_01BD32E7.0A16C320-- - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".