[MacPorts] #47944: poppler @0.33.0: cross-compilation fails: Bad CPU type in executable
MacPorts
noreply at macports.org
Wed Jun 3 12:26:13 PDT 2015
#47944: poppler @0.33.0: cross-compilation fails: Bad CPU type in executable
--------------------------+----------------------
Reporter: ryandesign@… | Owner: devans@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Keywords: | Port: poppler
--------------------------+----------------------
I need to create a universal binary of poppler that involves cross-
compilation. In the case of the attached log, that means building for
x86_64 on an i386 Mac, but it would also mean building for ppc64 on a ppc
Mac or on any Intel Mac, or for i386 or x86_64 on any PowerPC Mac.
The error is:
{{{
Poppler-0.18: Bad CPU type in executable
}}}
It appears the poppler build is trying to run something it just compiled,
which cannot work when cross-compiling.
This wouldn't be an issue with the normal universal variant, since all
architectures would be in the same file, but it is a problem when using
the muniversal portgroup, which poppler does, but r50531 doesn't explain
why. Maybe it doesn't need to?
--
Ticket URL: <https://trac.macports.org/ticket/47944>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list