From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C04DF3858C60; Fri, 27 Jan 2023 19:44:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C04DF3858C60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674848698; bh=M9BwQcaK6s9X8mjLsHDTUtbBl3c4XLjbSJ7W7RTjeMs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=mreygl2zvyUN8U2aw9B+XxoaIHx+PHgTFeD3JrT/ctliLvvGDdVWCI+7z4fUwpOPk t20vDuC8AOUUSvpwbZkroPjdBR9x83Rlkp2Ruoh+ZV2V5SYq34xMStYWFMyH0nuPAv xNdSU1rU1ak4XK6FdCSdZHykBVJ9Izvm1uOTikxE= From: "vital.had at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/12596] configure setting --with-libiconv-prefix doesn't get passed to gcc-subdir Date: Fri, 27 Jan 2023 19:44:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 3.4.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: vital.had at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D12596 Sergey Fedorov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vital.had at gmail dot com --- Comment #9 from Sergey Fedorov --- Got a similar error when trying to run testsuite on 10.6.8: macmini:FORTRAN_TEST svacchanda$ cd /Users/svacchanda/FORTRAN_TEST/gcc make= -j6 macmini:gcc svacchanda$ cd /Users/svacchanda/FORTRAN_TEST/gcc=20 macmini:gcc svacchanda$ make -j6 if [ -f ../stage_final ] \ && cmp -s ../stage_current ../stage_final; then \ cp ../prev-gcc/cc1-checksum.cc cc1-checksum.cc; \ else \ build/genchecksum c/c-lang.o c-family/stub-objc.o attribs.o c/c-errors.o c/c-decl.o c/c-typeck.o c/c-convert.o c/c-aux-info.o c/c-objc-common.o c/c-parser.o c/c-fold.o c/gimple-parser.o c-family/c-comm= on.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-indentation.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-ubsan.o c-family/known-headers.o c-family/c-attribs.o c-family/c-warn.o c-family/c-spellcheck.o darwin-c.o rs6000-c.o libbackend.a main.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a ../libbacktrace/.libs/libbacktrace.a \ checksum-options > cc1-checksum.cc.tmp && \ =20=20=20=20=20=20=20=20=20 /Users/svacchanda/Github_barracuda156/gcc-12-branch/gcc/../move-if-change cc1-checksum.cc.tmp cc1-checksum.cc; \ fi if [ -f ../stage_final ] \ && cmp -s ../stage_current ../stage_final; then \ cp ../prev-gcc/cc1plus-checksum.cc cc1plus-checksum.cc; \ else \ build/genchecksum cp/cp-lang.o c-family/stub-objc.o cp/call.o cp/class.o cp/constexpr.o cp/constraint.o cp/coroutines.o cp/cp-gimplify.o cp/cp-objcp-common.o cp/cp-ubsan.o cp/cvt.o cp/cxx-pretty-print.o cp/decl.o cp/decl2.o cp/dump.o cp/error.o cp/except.o cp/expr.o cp/friend.o cp/init.o cp/lambda.o cp/lex.o cp/logic.o cp/mangle.o cp/mapper-client.o cp/mapper-resolver.o cp/method.o cp/module.o cp/name-lookup.o cp/optimize.o cp/parser.o cp/pt.o cp/ptree.o cp/rtti.o cp/search.o cp/semantics.o cp/tree= .o cp/typeck.o cp/typeck2.o cp/vtable-class-hierarchy.o attribs.o incpath.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-indentation.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-ubsan.o c-family/known-headers.o c-family/c-attribs.o c-family/c-warn.o c-family/c-spellcheck.o darwin-c.o rs6000-c.o libbackend.a main.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcody/libcody.a libcommon.a ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a ../libbacktrace/.libs/libbacktrace.a \ checksum-options > cc1plus-checksum.cc.tmp && \ =20=20=20=20=20=20=20=20=20 /Users/svacchanda/Github_barracuda156/gcc-12-branch/gcc/../move-if-change cc1plus-checksum.cc.tmp cc1plus-checksum.cc; \ fi /Users/svacchanda/FORTRAN_TEST/./prev-gcc/xg++ -B/Users/svacchanda/FORTRAN_TEST/./prev-gcc/ -B/opt/svacchanda/gfortran-12-ppc/powerpc-apple-darwin10/bin/ -nostdinc++ -B/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/s= rc/.libs -B/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/l= ibsupc++/.libs -I/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/i= nclude/powerpc-apple-darwin10 -I/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/i= nclude -I/Users/svacchanda/Github_barracuda156/gcc-12-branch/libstdc++-v3/libsupc= ++ -L/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/s= rc/.libs -L/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/l= ibsupc++/.libs -no-pie -g -O2 -mdynamic-no-pic -fno-checking -gtoggle -I/opt/local/inclu= de -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc= =20 -L/opt/local/lib -o f951 \ fortran/arith.o fortran/array.o fortran/bbt.o fortran/check= .o fortran/class.o fortran/constructor.o fortran/cpp.o fortran/data.o fortran/decl.o fortran/dump-parse-tree.o fortran/error.o fortran/expr.o fortran/interface.o fortran/intrinsic.o fortran/io.o fortran/iresolve.o fortran/match.o fortran/matchexp.o fortran/misc.o fortran/module.o fortran/openmp.o fortran/options.o fortran/parse.o fortran/primary.o fortran/resolve.o fortran/scanner.o fortran/simplify.o fortran/st.o fortran/symbol.o fortran/target-memory.o darwin-f.o fortran/convert.o fortran/dependency.o fortran/f95-lang.o fortran/trans.o fortran/trans-array= .o fortran/trans-common.o fortran/trans-const.o fortran/trans-decl.o fortran/trans-expr.o fortran/trans-intrinsic.o fortran/trans-io.o fortran/trans-openmp.o fortran/trans-stmt.o fortran/trans-types.o fortran/frontend-passes.o libbackend.a main.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a -L./../zlib -lz libcommon= .a ../libcpp/libcpp.a -liconv ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a attribs.o \ -L/opt/local/lib -lisl -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -lmpc -lmpfr -lgmp -L./../zlib -lz -L/opt/local/lib -lzs= td=20 /Users/svacchanda/FORTRAN_TEST/./prev-gcc/xg++ -B/Users/svacchanda/FORTRAN_TEST/./prev-gcc/ -B/opt/svacchanda/gfortran-12-ppc/powerpc-apple-darwin10/bin/ -nostdinc++ -B/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/s= rc/.libs -B/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/l= ibsupc++/.libs -I/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/i= nclude/powerpc-apple-darwin10 -I/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/i= nclude -I/Users/svacchanda/Github_barracuda156/gcc-12-branch/libstdc++-v3/libsupc= ++ -L/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/s= rc/.libs -L/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/l= ibsupc++/.libs -no-pie -g -O2 -mdynamic-no-pic -fno-checking -gtoggle -I/opt/local/inclu= de -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc= =20 -L/opt/local/lib -o xgcc gcc.o gcc-main.o ggc-none.o \ c/gccspec.o driver-rs6000.o darwin-driver.o libcommon-target.a \ libcommon.a ../libcpp/libcpp.a -liconv ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a=20 /Users/svacchanda/FORTRAN_TEST/./prev-gcc/xg++ -B/Users/svacchanda/FORTRAN_TEST/./prev-gcc/ -B/opt/svacchanda/gfortran-12-ppc/powerpc-apple-darwin10/bin/ -nostdinc++ -B/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/s= rc/.libs -B/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/l= ibsupc++/.libs -I/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/i= nclude/powerpc-apple-darwin10 -I/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/i= nclude -I/Users/svacchanda/Github_barracuda156/gcc-12-branch/libstdc++-v3/libsupc= ++ -L/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/s= rc/.libs -L/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/l= ibsupc++/.libs -no-pie -g -O2 -mdynamic-no-pic -fno-checking -gtoggle -I/opt/local/inclu= de -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc= =20 -L/opt/local/lib -o cpp gcc.o gcc-main.o ggc-none.o \ c-family/cppspec.o driver-rs6000.o darwin-driver.o libcommon-targ= et.a \ libcommon.a ../libcpp/libcpp.a -liconv ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a=20 /Users/svacchanda/FORTRAN_TEST/./prev-gcc/xg++ -B/Users/svacchanda/FORTRAN_TEST/./prev-gcc/ -B/opt/svacchanda/gfortran-12-ppc/powerpc-apple-darwin10/bin/ -nostdinc++ -B/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/s= rc/.libs -B/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/l= ibsupc++/.libs -I/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/i= nclude/powerpc-apple-darwin10 -I/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/i= nclude -I/Users/svacchanda/Github_barracuda156/gcc-12-branch/libstdc++-v3/libsupc= ++ -L/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/s= rc/.libs -L/Users/svacchanda/FORTRAN_TEST/prev-powerpc-apple-darwin10/libstdc++-v3/l= ibsupc++/.libs -no-pie -g -O2 -mdynamic-no-pic -fno-checking -gtoggle -I/opt/local/inclu= de -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc= =20 -L/opt/local/lib -o xg++ \ gcc.o gcc-main.o ggc-none.o cp/g++spec.o driver-rs6000.o darwin-driver.o libcommon-target.a \ libcommon.a ../libcpp/libcpp.a -liconv ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a=20 Undefined symbols: "_iconv", referenced from: __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o) __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o) __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o) __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o) (maybe you meant: __cpp_destroy_iconv, __Z14cpp_init_iconvP10cpp_reade= r ) "_iconv_close", referenced from: __cpp_destroy_iconv in libcpp.a(charset.o) __cpp_destroy_iconv in libcpp.a(charset.o) __cpp_destroy_iconv in libcpp.a(charset.o) __cpp_destroy_iconv in libcpp.a(charset.o) __cpp_destroy_iconv in libcpp.a(charset.o) __cpp_convert_input in libcpp.a(charset.o) "_iconv_open", referenced from: __ZL15init_iconv_descP10cpp_readerPKcS2_ in libcpp.a(charset.o) Undefined symbols: "_iconv", referenced from: ld: symbol(s) not found __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o) __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o) __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o) __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o) (maybe you meant: __cpp_destroy_iconv, __Z14cpp_init_iconvP10cpp_reade= r ) "_iconv_close", referenced from: collect2: error: ld returned 1 exit status __cpp_destroy_iconv in libcpp.a(charset.o) __cpp_destroy_iconv in libcpp.a(charset.o) __cpp_destroy_iconv in libcpp.a(charset.o) __cpp_destroy_iconv in libcpp.a(charset.o) __cpp_destroy_iconv in libcpp.a(charset.o) __cpp_convert_input in libcpp.a(charset.o) "_iconv_open", referenced from: __ZL15init_iconv_descP10cpp_readerPKcS2_ in libcpp.a(charset.o) ld: symbol(s) not found make: *** [cpp] Error 1 make: *** Waiting for unfinished jobs.... collect2: error: ld returned 1 exit status make: *** [xg++] Error 1 Undefined symbols: "_iconv", referenced from: __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o) __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o) __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o) __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o) (maybe you meant: __cpp_destroy_iconv, __Z14cpp_init_iconvP10cpp_reade= r ) "_iconv_close", referenced from: __cpp_destroy_iconv in libcpp.a(charset.o) __cpp_destroy_iconv in libcpp.a(charset.o) __cpp_destroy_iconv in libcpp.a(charset.o) __cpp_destroy_iconv in libcpp.a(charset.o) __cpp_destroy_iconv in libcpp.a(charset.o) __cpp_convert_input in libcpp.a(charset.o) "_iconv_open", referenced from: __ZL15init_iconv_descP10cpp_readerPKcS2_ in libcpp.a(charset.o) ld: symbol(s) not found collect2: error: ld returned 1 exit status make: *** [xgcc] Error 1 Undefined symbols: "_iconv_close", referenced from: __cpp_destroy_iconv in libcpp.a(charset.o) __cpp_destroy_iconv in libcpp.a(charset.o) __cpp_destroy_iconv in libcpp.a(charset.o) __cpp_destroy_iconv in libcpp.a(charset.o) __cpp_destroy_iconv in libcpp.a(charset.o) __cpp_convert_input in libcpp.a(charset.o) "_iconv", referenced from: __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o) __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o) __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o) __ZL19convert_using_iconvPvPKhmP11_cpp_strbuf in libcpp.a(charset.o) (maybe you meant: __Z14cpp_init_iconvP10cpp_reader, __cpp_destroy_icon= v ) "_iconv_open", referenced from: __ZL15init_iconv_descP10cpp_readerPKcS2_ in libcpp.a(charset.o) ld: symbol(s) not found collect2: error: ld returned 1 exit status make: *** [f951] Error 1=