berkus / mclinker

Automatically exported from code.google.com/p/mclinker
Other
0 stars 0 forks source link

Bypass and give a warning when a found input library is incompatible #110

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For gold and gnu-ld, if they found a library in different architecture, they'll 
give a warning and keep finding the library in other search path.

For example,
ld.gold: warning: skipping incompatible /usr/lib/libm.so while searching for m

While for MCLinker, we'll give a fatal error directly.
Fatal: cannot recognize the format of file `/usr/lib/libm.so'.
  object format or given target machine (arm-none-linux-gnueabi) is wrong.

Original issue reported on code.google.com by mysekki on 2 Jan 2013 at 9:41

GoogleCodeExporter commented 9 years ago

Original comment by pete.c...@gmail.com on 18 Sep 2013 at 1:11