[MacPorts] #64294: isl @0.24: Does not use -arch flags for all compilations (was: New version of isl seems broken for ppc64)

MacPorts noreply at macports.org
Sun Dec 26 14:50:53 UTC 2021


#64294: isl @0.24: Does not use -arch flags for all compilations
---------------------------+------------------------------------------
  Reporter:  barracuda156  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:  PowerPC, Leopard, ppc64, gcc
      Port:  isl           |
---------------------------+------------------------------------------
Changes (by ryandesign):

 * status:  new => assigned
 * owner:  (none) => MarcusCalhoun-Lopez


Comment:

 Replying to [ticket:64294 barracuda156]:
 > {{{
 > ld warning: in polyhedron_sample.o, file is not of required architecture
 > }}}

 Yes I can see from the main.log that the gcc-4.2 invocation that created
 polyhedron_sample.o (and similarly for several other objects) did not use
 any `-arch` flags:

 {{{
 depbase=`echo polyhedron_sample.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
     /usr/bin/gcc-4.2 -DHAVE_CONFIG_H   -I. -I. -I./include -Iinclude/
 -I/opt/local/include  -O1 -MT polyhedron_sample.o -MD -MP -MF $depbase.Tpo
 -c -o polyhedron_sample.o polyhedron_sample.c &&\
     mv -f $depbase.Tpo $depbase.Po
 }}}

 So I would expect any universal or non-default-arch build of isl on any OS
 version to fail at this point.

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


More information about the macports-tickets mailing list