[MacPorts] #55900: ngspice @27_3 Update ngspice from 26 to 27 version
MacPorts
noreply at macports.org
Mon Feb 26 20:43:31 UTC 2018
#55900: ngspice @27_3 Update ngspice from 26 to 27 version
-----------------------+--------------------
Reporter: mguthaus | Owner: kencu
Type: update | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.4.2
Resolution: fixed | Keywords:
Port: |
-----------------------+--------------------
Comment (by kencu):
Two build errors, both in the 32bit builds:
<https://build.macports.org/builders/ports-10.6_i386_legacy-
builder/builds/37314/steps/install-port/logs/stdio>
{{{
CCLD test_cx_cph
ld: absolute addressing (perhaps -mdynamic-no-pic) used in _main from
test_cx_mag.o not allowed in slidable image. Use '-read_only_relocs
suppress' to enable text relocs
collect2: ld returned 1 exit status
}}}
and
<https://build.macports.org/builders/ports-10.5_ppc_legacy-
builder/builds/55357/steps/install-port/logs/stdio>
{{{
CCLD test_cx_j
ld: absolute address to symbol ___stderrp in a different linkage unit not
ld: absolute addresssupported into _mainsymbol from ___stderrp
test_cx_mag.oin
a different linkage unit not supported in _main from test_cx_j.o
}}}
The first on is usually fixed by doing what it says, ie adding the
following to the 32 bit build only:
{{{
configure.ldflags-append -read_only_relocs suppress
}}}
Perhaps that might fix the other `different linkage unit` error as well in
the PPC build. I've seen that error before, and just right at this moment
I forget the flag(s) you have to send the linker to make that go away.
--
Ticket URL: <https://trac.macports.org/ticket/55900#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list