Changes between Initial Version and Version 1 of Ticket #74, comment 3
- Timestamp:
- Jan 29, 2016, 5:21:56 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #74, comment 3
initial v1 1 Another note on this. The described bug only takes place when `-Zomf` is present in LDFLAGS. This matches the above as in `-Zomf` mode `nm` can't read object files and hence can't process exports. Until the OMF consistency is somehow gained in the toolchain, we should tend not to use `-Zomf`. However, sometimes it's not possible (due to various `ld` bugs, like in case of too many mangled C++ exports). In this case `-Zomf` is must and as a temporary workaround `-export-symbols-regexp` is to be removed (emxexp will be used in this case which will export every public symbol though).1 Another note on this. The described bug only takes place when `-Zomf` is present in CFLAGS. This matches the above as in `-Zomf` mode `nm` can't read object files and hence can't process exports. Until the OMF consistency is somehow gained in the toolchain, we should tend not to use `-Zomf`. However, sometimes it's not possible (due to various `ld` bugs, like in case of too many mangled C++ exports). In this case `-Zomf` is must and as a temporary workaround `-export-symbols-regexp` is to be removed (emxexp will be used in this case which will export every public symbol though).