Opened 12 years ago

Closed 12 years ago

#36504 closed defect (duplicate)

apple-gcc42: undefined symbols ___bswapdi2 ___bswapsi2

Reported by: shaman888@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: apple-gcc42

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I've studied similar and same cases in tickets, but it didn't help.
I wanted to get "wine" over port and it did well except for apple-gcc42. cctools installed fine too.

That's what I did to try solving the problem:

sudo port -d selfupdate
sudo port clean apple-gcc42
sudo port -d install apple-gcc42

My MacOS:
Darwin Kernel Version 12.2.0
Mountain Lion

Error:

Exit code: 2
Error: org.macports.build for port apple-gcc42 returned: command execution failed

More:

Undefined symbols for architecture x86_64:
  "___bswapdi2", referenced from:
     -exported_symbol[s_list] command line option
  "___bswapsi2", referenced from:
     -exported_symbol[s_list] command line option
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[5]: *** [libgcc_s.dylib] Error 1
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [stmp-multilib] Error 2
rm cpp.pod gpl.pod gfdl.pod fsf-funding.pod gcc.pod gcov.pod
make[3]: *** [all-stage1-gcc] Error 2
make[2]: *** [stage1-bubble] Error 2
make[1]: *** [all] Error 2
+ exit 1
make: *** [install] Error 1
...
...
DEBUG: Error code: CHILDSTATUS 44340 2
DEBUG: Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
Warning: targets not executed for apple-gcc42: org.macports.activate org.macports.build org.macports.destroot org.macports.install

Attachments (1)

main.log (7.7 MB) - added by shaman888@… 12 years ago.
main.log

Change History (5)

Changed 12 years ago by shaman888@…

Attachment: main.log added

main.log

comment:2 in reply to:  description Changed 12 years ago by shaman888@…

Replying to shaman888@…:

And another thing:
My Mac is a MacPro, Intel based, built 2011.

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: apple-gcc42 removed
Owner: changed from macports-tickets@… to jeremyhu@…
Port: wine removed
Summary: apple-gcc42 build errorapple-gcc42L undefined symbols ___bswapdi2 ___bswapsi2

comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: apple-gcc42L undefined symbols ___bswapdi2 ___bswapsi2apple-gcc42: undefined symbols ___bswapdi2 ___bswapsi2

comment:5 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: duplicate
Status: newclosed

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 1 0x 0 0x 0 0x 0 ) which is not the architecture being linked (x86_64):

#36026

Note: See TracTickets for help on using tickets.