[MacPorts] #55302: libgcc fails to build as universal on SnowLeopard: error: 'getsectiondata' was not declared in this scope
MacPorts
noreply at macports.org
Thu Nov 16 19:51:38 UTC 2017
#55302: libgcc fails to build as universal on SnowLeopard: error: 'getsectiondata'
was not declared in this scope
-----------------------+-------------------------
Reporter: rmottola | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: snowleopard
Port: libgcc |
-----------------------+-------------------------
Comment (by kencu):
I think you might possibly be running into something we noticed a few
months ago with the linker (ld64) on snow leopard. It is not happening on
my machine, but this snowleopard machine I'm on is highly tuned, and
highly compatible with newer software (see LibcxxOnOlderSystems if you're
interested in that someday).
The discussion about the linker issues was here [ticket:53931]. I thought
we had that resolved.
can you give me the output of `port -v installed | grep ld64` please. Here
is what I have:
{{{
$ port -v installed | grep ld64
ld64 @2_0+universal-ld64_127-ld64_136-ld64_236-ld64_97 platform='darwin
10' archs='i386 x86_64' date='2016-09-01T23:15:02-0700'
ld64 @3_0+universal-ld64_127-ld64_236-ld64_97 (active) platform='darwin
10' archs='i386 x86_64' date='2017-08-19T14:34:09-0700'
ld64-136 @136_9+llvm39-llvm34 platform='darwin 10' archs='x86_64'
date='2016-12-21T10:45:57-0800'
ld64-236 @236.3_7+llvm39-llvm34 (active) platform='darwin 10'
archs='x86_64' date='2017-08-19T19:16:27-0700'
ld64-latest @274.1_1+llvm39+universal-llvm34 platform='darwin 10'
archs='i386 x86_64' date='2016-12-21T15:41:59-0800'
ld64-latest @274.2_1+llvm39+universal-llvm34 (active) platform='darwin
10' archs='i386 x86_64' date='2017-08-19T14:34:08-0700'
}}}
The current versions of libgcc build on the 10.6.8 buildbot in both i386
and in x86_64 architectures. It builds universal on my machine. I'll wind
up a VM at home I have and see if it will build +universal.
It might not be a terrible idea to tweak the buildbot to build a
+universal version for everyone as well, as it takes forever to build one.
--
Ticket URL: <https://trac.macports.org/ticket/55302#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list