From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from devianza.investici.org (devianza.investici.org [198.167.222.108]) by sourceware.org (Postfix) with ESMTPS id 950CE38582AE for ; Tue, 6 Sep 2022 11:23:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 950CE38582AE Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=autistici.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=autistici.org Received: from 1.mail-backend.investici.org (unknown [10.0.0.11]) by devianza.investici.org (Postfix) with ESMTP id 4MMNKq2lrQz6vVF for ; Tue, 6 Sep 2022 11:23:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1662463391; bh=5LsRu9SNs9lL13+W1gJLFp0akEwbbnfXBOew1HmsZkI=; h=Date:From:To:Subject:From; b=CehGR9tQP2yv+PTLzuCwhotRjyGdgix6fYUSzKHTDOEut/05kXnRQ+XaWdqu9BsPB o0D7MCbdbp672kjb2mZR7Qb1ngdG5UHiL9KSbY/Ja02FR0pFS+hcrGKYX6Sutl7mO+ uTwa4NPQ8dGckGuuNqZy55empyEst9Q2qmaJXwcM= Received: from 1.webmail.investici.org (localhost [127.0.0.1]) (Authenticated sender: i.nixman@autistici.org) by 1.mail-backend.investici.org (Postfix) with ESMTPA id 4MMNKq2H79z62sj for ; Tue, 6 Sep 2022 11:23:11 +0000 (UTC) MIME-Version: 1.0 Date: Tue, 06 Sep 2022 11:23:11 +0000 From: i.nixman@autistici.org To: gcc-help@gcc.gnu.org Subject: undefined reference when building GCC-4.8.1 MinGW-W64 User-Agent: Roundcube Webmail Message-ID: <5d8346f35eaabcc1ba6acd4ccfd7b9b5@autistici.org> X-Sender: i.nixman@autistici.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hello guys! a long time ago I successfully built this version of the GCC-4.8.1, and I'm pretty sure I used the same options. but now, on stage3 I get a linking error: x86_64-w64-mingw32-g++ -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc -pipe -fno-ident -L/home/Raj/mingw-gcc-4.8.1/x86_64-481-posix-sjlj-rt_v9/mingw64/opt/lib -L/home/Raj/mingw-gcc-4.8.1/prerequisites/x86_64-zlib-static/lib -L/home/Raj/mingw-gcc-4.8.1/prerequisites/x86_64-w64-mingw32-static/lib -Wl,--stack,12582912 -o cc1plus.exe \ cp/cp-lang.o c-family/stub-objc.o cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parser.o cp/ptree.o cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o cp/method.o cp/search.o cp/semantics.o cp/tree.o cp/repo.o cp/dump.o cp/optimize.o cp/mangle.o cp/cp-objcp-common.o cp/name-lookup.o cp/cxx-pretty-print.o cp/cp-gimplify.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-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 tree-mudflap.o i386-c.o winnt-cxx.o msformat-c.o default-c.o cc1plus-checksum.o libbackend.a main.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a -liconv ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/home/Raj/mingw-gcc-4.8.1/prerequisites/x86_64-w64-mingw32-static/lib -lcloog-isl -L/home/Raj/mingw-gcc-4.8.1/prerequisites/x86_64-w64-mingw32-static/lib -lisl -L/home/Raj/mingw-gcc-4.8.1/prerequisites/x86_64-w64-mingw32-static/lib -L/home/Raj/mingw-gcc-4.8.1/prerequisites/x86_64-w64-mingw32-static/lib -L/home/Raj/mingw-gcc-4.8.1/prerequisites/x86_64-w64-mingw32-static/lib -lmpc -lmpfr -lgmp -lz cp/except.o: In function `nothrow_libfn_p(tree_node const*)': C:\msys64\home\Raj\mingw-gcc-4.8.1\x86_64-481-posix-sjlj-rt_v9\build\gcc-4.8.1\gcc/../../../../src/gcc-4.8.1/gcc/cp/except.c:1025: undefined reference to `libc_name_p(char const*, unsigned int)' collect2.exe: error: ld returned 1 exit status any ideas? thanks!