[libgcc8] compile failure on i386 on 10.6 Snow

Bjarne D Mathiesen macintosh at mathiesen.info
Thu Aug 29 23:32:18 UTC 2019


I tried editing the libgcc8 Portfile


"configure.cxxflags-append -Wl,-read_only_relocs,suppress" has no
influence and just gives the original error.


"configure.ldflags-append -read_only_relocs suppress" gives :

#=> port -v install libgcc
--->  Computing dependencies for libgcc..
The following dependencies will be installed:  libgcc8
Continue? [Y/n]:
--->  Fetching distfiles for libgcc8
--->  Verifying checksums for libgcc8
--->  Checksumming gcc-8.3.0.tar.xz
--->  Extracting libgcc8
--->  Extracting gcc-8.3.0.tar.xz
Executing:  cd
"/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc8/libgcc8/work"
&& /macports/bin/xz -dc
'/macports/var/macports/distfiles/gcc8/gcc-8.3.0.tar.xz' |
/usr/bin/gnutar --no-same-owner -xf -
--->  Configuring libgcc8
Executing:  cd
"/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc8/libgcc8/work/build"
&&
/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc8/libgcc8/work/gcc-8.3.0/configure
--prefix=/macports --build=i386-apple-darwin10
--enable-languages=c,c++,objc,obj-c++,lto,fortran
--libdir=/macports/lib/libgcc --includedir=/macports/include/gcc
--infodir=/macports/share/info --mandir=/macports/share/man
--datarootdir=/macports/share/gcc-8 --with-local-prefix=/macports
--with-system-zlib --disable-nls --program-suffix=-mp-8
--with-gxx-include-dir=/macports/include/gcc/c++/ --with-gmp=/macports
--with-mpfr=/macports --with-mpc=/macports --with-isl=/macports
--enable-stage1-checking --disable-multilib --enable-lto
--enable-libstdcxx-time --with-build-config=bootstrap-debug
--with-as=/macports/bin/as --with-ld=/macports/bin/ld
--with-ar=/macports/bin/ar
--with-bugurl=https://trac.macports.org/newticket --disable-tls
-read_only_relocs suppress --with-pkgversion="MacPorts gcc8 8.3.0_5"

configure: error: unrecognized option: `-read_only_relocs'


-- 
Bjarne D Mathiesen
Korsør ; Danmark ; Europa
----------------------------------------------------------------------
denne besked er skrevet i et (næsten) M$-frit miljø
MacOS X 10.13.6 High Sierra :
   17" 2011 MacBook Pro ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3
   2012 Mac Pro ; 2 x 3.46GHz 6-Core Xeon ; 48GB
MacOS X 10.6.8 Snow Leopard :
   Mac Mini ; 2GHz Core 2 Duo (64 bit) ; 4GB (3GB actual) 667MHz
   Mac Mini ; 1.83GHz Core Duo (32 bit) ; 2GB 667Mhz


More information about the macports-users mailing list