Opened 15 years ago

Closed 14 years ago

#23022 closed defect (fixed)

gccxml uses 'gcc' not ${configure.cc}

Reported by: celil.rufat@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: gccxml

Description (last modified by mf2k (Frank Schima))

Attempting to install gccxml on Snow Leopard results in an error:

$ sudo port install gccxml
--->  Computing dependencies for gccxml
--->  Fetching gccxml
--->  Verifying checksum(s) for gccxml
--->  Extracting gccxml
--->  Configuring gccxml
--->  Building gccxml
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gccxml/work/build" && /usr/bin/make -j2 all " returned error 2
Command output: gcc: unrecognized option '-no-cpp-precomp'
Building C object GCC/libiberty/CMakeFiles/iberty.dir/spaces.o
gcc: unrecognized option '-no-cpp-precomp'
[  8%] Building C object GCC/libiberty/CMakeFiles/iberty.dir/strerror.o
gcc: unrecognized option '-no-cpp-precomp'
[  8%] Building C object GCC/libiberty/CMakeFiles/iberty.dir/strsignal.o
gcc: unrecognized option '-no-cpp-precomp'
[  8%] Building C object GCC/libiberty/CMakeFiles/iberty.dir/ternary.o
gcc: unrecognized option '-no-cpp-precomp'
[  9%] [  9%] Building C object GCC/libiberty/CMakeFiles/iberty.dir/xatexit.o
Building C object GCC/libiberty/CMakeFiles/iberty.dir/xexit.o
gcc: unrecognized option '-no-cpp-precomp'
gcc: unrecognized option '-no-cpp-precomp'
[  9%] Building C object GCC/libiberty/CMakeFiles/iberty.dir/xmalloc.o
gcc: unrecognized option '-no-cpp-precomp'
[  9%] Building C object GCC/libiberty/CMakeFiles/iberty.dir/xmemdup.o
gcc: unrecognized option '-no-cpp-precomp'
[ 10%] Building C object GCC/libiberty/CMakeFiles/iberty.dir/xstrdup.o
gcc: unrecognized option '-no-cpp-precomp'
[ 10%] Building C object GCC/libiberty/CMakeFiles/iberty.dir/xstrerror.o
gcc: unrecognized option '-no-cpp-precomp'
[ 10%] Building C object GCC/libiberty/CMakeFiles/iberty.dir/copysign.o
gcc: unrecognized option '-no-cpp-precomp'
[ 10%] Building C object GCC/libiberty/CMakeFiles/iberty.dir/_doprnt.o
gcc: unrecognized option '-no-cpp-precomp'
[ 11%] Building C object GCC/libiberty/CMakeFiles/iberty.dir/vfork.o
gcc: unrecognized option '-no-cpp-precomp'
Linking C static library ../gcc/libiberty.a
[ 11%] Built target iberty
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Change History (3)

comment:1 Changed 15 years ago by celil.rufat@…

Sorry for the bad formatting:

$ sudo port install gccxml
--->  Computing dependencies for gccxml
--->  Fetching gccxml
--->  Verifying checksum(s) for gccxml
--->  Extracting gccxml
--->  Configuring gccxml
--->  Building gccxml
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gccxml/work/build" && /usr/bin/make -j2 all " returned error 2
Command output: gcc: unrecognized option '-no-cpp-precomp'
Building C object GCC/libiberty/CMakeFiles/iberty.dir/spaces.o
gcc: unrecognized option '-no-cpp-precomp'
[  8%] Building C object GCC/libiberty/CMakeFiles/iberty.dir/strerror.o
gcc: unrecognized option '-no-cpp-precomp'
[  8%] Building C object GCC/libiberty/CMakeFiles/iberty.dir/strsignal.o
gcc: unrecognized option '-no-cpp-precomp'
[  8%] Building C object GCC/libiberty/CMakeFiles/iberty.dir/ternary.o
gcc: unrecognized option '-no-cpp-precomp'
[  9%] [  9%] Building C object GCC/libiberty/CMakeFiles/iberty.dir/xatexit.o
Building C object GCC/libiberty/CMakeFiles/iberty.dir/xexit.o
gcc: unrecognized option '-no-cpp-precomp'
gcc: unrecognized option '-no-cpp-precomp'
[  9%] Building C object GCC/libiberty/CMakeFiles/iberty.dir/xmalloc.o
gcc: unrecognized option '-no-cpp-precomp'
[  9%] Building C object GCC/libiberty/CMakeFiles/iberty.dir/xmemdup.o
gcc: unrecognized option '-no-cpp-precomp'
[ 10%] Building C object GCC/libiberty/CMakeFiles/iberty.dir/xstrdup.o
gcc: unrecognized option '-no-cpp-precomp'
[ 10%] Building C object GCC/libiberty/CMakeFiles/iberty.dir/xstrerror.o
gcc: unrecognized option '-no-cpp-precomp'
[ 10%] Building C object GCC/libiberty/CMakeFiles/iberty.dir/copysign.o
gcc: unrecognized option '-no-cpp-precomp'
[ 10%] Building C object GCC/libiberty/CMakeFiles/iberty.dir/_doprnt.o
gcc: unrecognized option '-no-cpp-precomp'
[ 11%] Building C object GCC/libiberty/CMakeFiles/iberty.dir/vfork.o
gcc: unrecognized option '-no-cpp-precomp'
Linking C static library ../gcc/libiberty.a
[ 11%] Built target iberty
make: *** [all] Error 2

Error: Status 1 encountered during processing.

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:3 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Summary: Cannot install gccxml on Snow Leopardgccxml uses 'gcc' not ${configure.cc}
Note: See TracTickets for help on using tickets.