[MacPorts] #36611: libstdcxx fails to build

MacPorts noreply at macports.org
Sat Nov 10 05:17:35 PST 2012


#36611: libstdcxx fails to build
------------------------+-------------------
  Reporter:  roffe@…    |      Owner:  mww@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.1.2
Resolution:             |   Keywords:
      Port:  libstdcxx  |
------------------------+-------------------

Comment (by braumann@…):

 Replying to [comment:7 jeremyhu@…]:

 Ok, I have uploaded the config.log as resulted from the gcc45 compiler
 run.

 From config.log a series of problems of this type is visible: "xgcc:
 error: unrecognized command line option"

 {{{
 configure:3344:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc47/libstdcxx/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc47/libstdcxx/work/build/./gcc/
 -B/opt/local/ppc-apple-darwin9/bin/ -B/opt/local/ppc-apple-darwin9/lib/
 -isystem /opt/local/ppc-apple-darwin9/include -isystem /opt/local/ppc-
 apple-darwin9/sys-include    -V >&5
 xgcc: error: unrecognized command line option '-V'
 xgcc: fatal error: no input files
 compilation terminated.
 configure:3355: $? = 1
 configure:3344:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc47/libstdcxx/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc47/libstdcxx/work/build/./gcc/
 -B/opt/local/ppc-apple-darwin9/bin/ -B/opt/local/ppc-apple-darwin9/lib/
 -isystem /opt/local/ppc-apple-darwin9/include -isystem /opt/local/ppc-
 apple-darwin9/sys-include    -qversion >&5
 xgcc: error: unrecognized command line option '-qversion'
 xgcc: fatal error: no input files
 compilation terminated.
 configure:3355: $? = 1
 configure:3371:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc47/libstdcxx/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc47/libstdcxx/work/build/./gcc/
 -B/opt/local/ppc-apple-darwin9/bin/ -B/opt/local/ppc-apple-darwin9/lib/
 -isystem /opt/local/ppc-apple-darwin9/include -isystem /opt/local/ppc-
 apple-darwin9/sys-include    -o conftest -g -O2   conftest.c  >&5
 xgcc: internal compiler error: Segmentation fault (program cc1)
 }}}

 > Why are you using gcc-4.0 on Leopard?  You should be using gcc-4.2 by
 default.

 Well, I always thought the portfile should define which compiler is
 required. After getting in trouble with gcc40 (selected without a certain
 specification), using the configure.compiler option I tried various
 compilers installed on my 10.5.8. PPC, including apple-gcc-4.2. If you
 find gcc-4.2. should the preset standard compiler (for macports, or in
 general?), please let me know how to define this.

 Thanks so far, and perhaps someone can have a look on the config,log, I
 hope especially the unrecognized options -V and -qversion will give
 someone a clue what is going wrong here.

-- 
Ticket URL: <https://trac.macports.org/ticket/36611#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list