[MacPorts] #53702: arm-none-linux-gnueabi-gcc @2005q3-2: fails on Sierra - Undefined symbols for architecture x86_64
MacPorts
noreply at macports.org
Mon Mar 6 15:34:55 UTC 2017
#53702: arm-none-linux-gnueabi-gcc @2005q3-2: fails on Sierra - Undefined symbols
for architecture x86_64
-----------------------------------------+-----------------------------
Reporter: leaveye | Owner: stuartwesterman
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.4.1
Resolution: | Keywords:
Port: arm-none-linux-gnueabi-gcc |
-----------------------------------------+-----------------------------
Comment (by kencu):
OK. Sorry it wasn't as easy as a missing dependency. Bit harder, then.
Here's another clue, from your log.
{{{
:info:build ^
:info:build ../../gcc/gcc/cp/cfns.gperf:7:1: note: use 'static' to give
inline function 'libc_name_p' internal linkage
:info:build __inline
:info:build ^
}}}
If declaring the function as static didn't fix it, next thing I'd consider
after that is trying to build it with gcc6 instead and see if that works.
{{{
sudo port -v install YOURPORT configure.compiler=macports-gcc-6
}}}
Of course, gcc6 needs to be installed. Also see
[wiki:UsingTheRightCompiler] for other compiler options you could also
use.
--
Ticket URL: <https://trac.macports.org/ticket/53702#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list