[MacPorts] #36504: apple-gcc42L undefined symbols ___bswapdi2 ___bswapsi2 (was: apple-gcc42 build error)
MacPorts
noreply at macports.org
Sun Oct 7 15:58:51 PDT 2012
#36504: apple-gcc42L undefined symbols ___bswapdi2 ___bswapsi2
--------------------------+------------------------
Reporter: shaman888@… | Owner: jeremyhu@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: apple-gcc42 |
--------------------------+------------------------
Changes (by ryandesign@…):
* port: apple-gcc42, wine => apple-gcc42
* owner: macports-tickets@… => jeremyhu@…
* keywords: apple-gcc42 =>
Old description:
> 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
New description:
I've studied similar and same cases in tickets, but it didn't help. [[br]]
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: [[br]]
Darwin Kernel Version 12.2.0 [[br]]
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
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/36504#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list