Changes between Initial Version and Version 1 of Ticket #37845
- Timestamp:
- Jan 30, 2013, 10:32:00 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #37845
- Property Owner changed from macports-tickets@… to mww@…
- Property Keywords gcc removed
-
Property
Summary
changed from
multilib support in gcc48
togcc48: multilib support
- Property Port gcc48 added
-
Ticket #37845 – Description
initial v1 1 1 I'm trying to compile code that must interact with a 3rd party 32 bit library, and I can't link it because -m32 is not supported in the latest gcc48 compiler. 2 2 http://www.spinics.net/lists/gcchelp/msg36767.html indicates that when compiling and the error about 128 bit support appears it is due to not enabling multilib. Checking the specs on gcc48 shows: 3 {{{ 3 4 nomultidefs 5 }}} 4 6 and multilib is empty for all instances 5 7 8 {{{ 6 9 *multilib: 7 10 . ; … … 12 15 *multilib_options: 13 16 *multilib_reuse: 17 }}} 14 18 15 19 When linking for 32 bits I get the following error: 16 20 21 {{{ 17 22 linking libmvpgemcomm32.so.7.0.0 18 23 ld: warning: ignoring file /opt/local/lib/gcc48/libstdc++.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /opt/local/lib/gcc48/libstdc++.dylib 24 }}} 19 25 20 26 The code I'm using requires (now) the gcc std=c++11 code (mutex, condition_variable, futures, etc) so I can't use the older clang compiler.