[MacPorts] #65132: spatialite: gcc-4.x has to be blacklisted on PPC: configure: error: C compiler cannot create executables
MacPorts
noreply at macports.org
Wed May 11 15:53:40 UTC 2022
#65132: spatialite: gcc-4.x has to be blacklisted on PPC: configure: error: C
compiler cannot create executables
---------------------------+-----------------------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: powerpc, tiger, snowleopard
Port: spatialite |
---------------------------+-----------------------------------------
Comment (by barracuda156):
Replying to [comment:4 kencu]:
> that was the error in your gcc-4.2 build.
>
> I guess gcc-4.2 doesn’t like that option.
>
> we rarely have that as a default as the buildbots make a generic version
for people to download.
Hmm, where does this come from?
{{{
:notice:configure ---> Configuring spatialite
:debug:configure Preferred compilers: gcc-4.2 llvm-gcc-4.2 gcc-4.0
macports-gcc-11 macports-gcc-10 macports-gcc-7 macports-gcc-6 macports-
gcc-5
:debug:configure Using compiler 'Xcode GCC 4.2'
:debug:configure Executing org.macports.configure (spatialite)
:debug:configure Environment:
:debug:configure CC='/usr/bin/gcc-4.2'
:debug:configure CC_PRINT_OPTIONS='YES'
:debug:configure
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_databases_spatialite/spatialite/work/.CC_PRINT_OPTIONS'
:debug:configure CFLAGS='-pipe -Os -mtune=native -arch ppc'
:debug:configure CPATH='/opt/local/include'
:debug:configure CPPFLAGS='-mtune=native -I/opt/local/lib/proj8/include'
:debug:configure CXX='/usr/bin/g++-4.2'
:debug:configure CXXFLAGS='-pipe -Os -mtune=native -arch ppc'
:debug:configure DEVELOPER_DIR='/Developer'
:debug:configure F90FLAGS='-pipe -Os -mtune=native -m32'
:debug:configure FCFLAGS='-pipe -Os -mtune=native -m32'
:debug:configure FFLAGS='-pipe -Os -mtune=native -m32'
:debug:configure INSTALL='/usr/bin/install -c'
:debug:configure LDFLAGS='-L/opt/local/lib
-Wl,-headerpad_max_install_names -L/opt/local/lib/proj8/lib -arch ppc'
:debug:configure LIBRARY_PATH='/opt/local/lib'
:debug:configure MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:configure OBJC='/usr/bin/gcc-4.2'
:debug:configure OBJCFLAGS='-pipe -Os -arch ppc'
:debug:configure OBJCXX='/usr/bin/g++-4.2'
:debug:configure OBJCXXFLAGS='-pipe -Os -mtune=native -arch ppc'
}}}
I don't find anything about `-mtune` in the source (unless BBEdit fails
to).
--
Ticket URL: <https://trac.macports.org/ticket/65132#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list