Mercury Bugs - mercury | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000398 | mercury | Bug | public | 2015-12-09 16:00 | 2016-09-28 16:04 |
Reporter | juliensf | ||||
---|---|---|---|---|---|
Assigned To | juliensf | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000398: mercury_compile.exe fails to link on Cygwin64 / MinGW64 with GCC 4.9.X | ||||
Description | Building the compiler on Cygwin64 and some versions of MinGW64 results in the compiler executable failing to link. The error is as follows: top_level_init.o:top_level_init.c:(.rdata$.refptr._bss_start__[.refptr._bss_start__]+0x0): undefined reference to `_bss_start__' top_level_init.o:top_level_init.c:(.rdata$.refptr._data_start__[.refptr._data_start__]+0x0): undefined reference to `_data_start__' top_level_init.o:top_level_init.c:(.rdata$.refptr._bss_end__[.refptr._bss_end__]+0x0): undefined reference to `_bss_end__' top_level_init.o:top_level_init.c:(.rdata$.refptr._data_end__[.refptr._data_end__]+0x0): undefined reference to `_data_end__' | ||||
Additional Information | This as reported on the users list at <http://www.mercurylang.org/list-archives/developers/2015-November/016491.html>. I have noticed it myself on Cygwin64 (using Cygwin GCC 4.9.3 and binutils 2.25). Ian has reported it as occurring with MSYS2/MinGW64 GCC 4.9.2 and binutils 2.25. Using MSYS2/MinGW64 GCC 5.2 does work (on my machine), so it may be that there is a problem with GCC 4.9.X on 64-bit Windows. (I haven't tried GCC 5 on Cygwin64 yet as it would need to be built from source.) | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2015-12-09 16:00 | juliensf | New Issue | |||
2016-08-16 14:13 | juliensf | Note Added: 0000902 | |||
2016-08-17 09:22 | juliensf | Note Added: 0000903 | |||
2016-09-28 16:03 | juliensf | Assigned To | => juliensf | ||
2016-09-28 16:03 | juliensf | Status | new => resolved | ||
2016-09-28 16:03 | juliensf | Resolution | open => fixed | ||
2016-09-28 16:03 | juliensf | Note Added: 0000920 | |||
2016-09-28 16:04 | juliensf | Note Edited: 0000920 | bug_revision_view_page.php?bugnote_id=920#r46 |