Re: [MacPorts] #69146: libpixman: does not build with gcc-4.2 which breaks 10.6.8 Rosetta (and provisionally 10.4–10.5)

MacPorts noreply at macports.org
Thu Jan 25 23:55:34 UTC 2024


#69146: libpixman: does not build with gcc-4.2 which breaks 10.6.8 Rosetta (and
provisionally 10.4–10.5)
-------------------------+-------------------------------------------------
  Reporter:              |      Owner:  ryandesign
  barracuda156           |
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.1
Resolution:              |   Keywords:  snowleopard, rosetta, tiger,
      Port:  libpixman   |  leopard
-------------------------+-------------------------------------------------

Comment (by rmottola):

 I experience also issues on 10.5 pcc.
 However, forcing gcc7 makes compilation issues go away, but I have a
 linker error:

 {{{

 [42/113] /opt/local/bin/gcc-mp-7  -o test/infinite-loop test/infinite-
 loop.p/infinite-loop.c.o -L/opt/local/lib -I/opt/local/include
 -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names
 -Wl,-headerpad_max_install_names -arch ppc -pipe -Os -arch ppc
 -Wl,-rpath, at loader_path/../pixman test/libtestutils.a
 pixman/libpixman-1.0.dylib -lm
 FAILED: test/infinite-loop
 /opt/local/bin/gcc-mp-7  -o test/infinite-loop test/infinite-loop.p
 /infinite-loop.c.o -L/opt/local/lib -I/opt/local/include
 -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names
 -Wl,-headerpad_max_install_names -arch ppc -pipe -Os -arch ppc
 -Wl,-rpath, at loader_path/../pixman test/libtestutils.a
 pixman/libpixman-1.0.dylib -lm
 Undefined symbols:
   "_posix_memalign", referenced from:
       _aligned_malloc in libtestutils.a(utils.c.o)
 ld: symbol(s) not found
 collect2: error: ld returned 1 exit status

 }}}

 appears to be PPC specific. Didn't see something ismilar during intel
 upgrades. Ideas, @kencu?

-- 
Ticket URL: <https://trac.macports.org/ticket/69146#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list