Code signing issues with macports-gcc48 compiled binaries

Rainer Müller raimue at macports.org
Mon Jul 1 03:11:50 PDT 2013


On 2013-06-30 20:25, Nicolas Hatier wrote:
> Compiled with gcc 4.8 (macports)
> 
>     > /opt/local/bin/gcc-mp-4.8 a.cpp
>     > security unlock-keychain ~/my.keychain
>     password to unlock /Users/me/my.keychain: ********
>     > codesign -f -s "identity" --keychain ~/my.keychain a.out
>     codesign_allocate: object: /Users/me/a.out malformed object (unknown
>     load command 9)
>     a.out: object file format invalid or unsuitable
>     (failure)

Can you please provide the output of 'otool -l a.out' to see what the
offending load command 9 actually is?

Rainer


More information about the macports-users mailing list