delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/08/23/15:00:44

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 57NJ0hoQ2825556
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 57NJ0hoQ2825556
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=bfOamhN9
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B0DBF3858408
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1755975641;
bh=YDLo4PIluP93iu1W9Vt+LnzRBoBKgRXprR3gHosMtP4=;
h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:Cc:From;
b=bfOamhN9uYQFyZ2EgBsJAL5r52+2hx4D7bAkMSxbkB4LGuli5MRnehvzR38mniwek
tWWHqF1K+z82SYnWf02FXnPJ5Q+UcMyz9QtpCqK297Qwe75sWia0fF5okIGw0uSR3r
5yS4AwnXsPioKHZashDiVGDTZlK2VuoEsp6hM5mg=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C31813858D29
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C31813858D29
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1755975620; cv=none;
b=Ros+NhV4BqeAmlvdpDVV2dmLgGGpSDAXyk2wh0u10oNyV10pQU2JV1Ahilo9MyWFuba1g1mXv6dCcMkYQCD/3bQbLe7UfwjMCCBiqVsPtaFg0On8nUI6fcq0Yc7/PQC2veMR2pxLd4uw+AKphATBmGbMW9JNmKOSYv6xqyqceqc=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1755975620; c=relaxed/simple;
bh=G2PgM/QnQ/lh1JSkkPY/2TzbWcXpS2sKdTzQWoFWkdI=;
h=Message-ID:Date:MIME-Version:To:From:Subject:DKIM-Signature;
b=s23IgQ9qKGNSpWJVdUe28ePSMA9C9jwMk2Q+5DZRk7RKKmmyKxIwp+IAGc6ai6PwfLX3QAN20qWQmbKGv9UV1cAUlm2DDFCBDjZSdS8L+eqWK7TuHD3u5a4QM/GzOWl5xhf2vEN0wlUWooa3wdYdfPpMWMyiEmZsuLnyxcgYWLw=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C31813858D29
Message-ID: <3399d319-d0ed-4bb2-b67f-8439ec5b8b4b@SystematicSW.ab.ca>
Date: Sat, 23 Aug 2025 13:00:17 -0600
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: cygwin AT cygwin DOT com
Subject: gcc 13 collect2 ld cannot find
/usr/lib/gcc/x86_64-pc-cygwin/12/{crtbeginS.o,crtend.o}
Organization: Systematic Software
X-Rspamd-Server: rspamout04
X-Rspamd-Queue-Id: 09B6B1A
X-Stat-Signature: ph5oiha8qschgbqf8w1od3mbq1c3psba
X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
X-Session-ID: U2FsdGVkX1+xxK5sopXWJjg1VzToadp+ZHdhpRQK/GM=
X-HE-Tag: 1755975617-986545
X-HE-Meta: U2FsdGVkX18HlgboipsRQ4hfdRtH2fjYI7Rk09y06oE8LdOmFBj4omIJtEsZmNHmy6ingBvabQGUd0GyipyGj6eO0qris5/EFJTvC7qj01q8BqtdCUtP+icBJg/KVfxYBvqG+mOxvbxGOR2CsDdNcGuM2JbszEwdxjBYc9ZQ4VM1UO35KIpxbqjy0LijSdGQ4d9kW/kU88KIyy0/CIyor6LF79w0sUOftdVLN/Lf1hNJ4Uj863wqwMDPeigtZht6Q5z5A1roiiqwpAYsE0gCaB3W8NjPy099hfSi2wg5iuWTZINXiypF6t+9BBHg7elfGhs62H1wwEU5td+Fr+lqsuhkO7144LhcQyPy9KrbBox0KucdJ7VgMw==
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT ab DOT ca>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 57NJ0hoQ2825556

In libtool build (ncurses package update), installed gcc 13:

$ gcc --version
gcc (GCC) 13.4.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

collect2 appears to be looking for startup crt objects from gcc 12:

cd ../lib && /usr/bin/libtool --tag=CXX --silent --mode=link /usr/bin/g++  -ggdb 
-O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=3 
-fstack-protector-strong --param=ssp-buffer-size=4 -Werror=return-type 
-ffile-prefix-map=/usr/src/ncurses/ncurses-6.5+20250816-1.x86_64/build=/usr/src/debug/ncurses-6.5+20250816-1 
-ffile-prefix-map=/usr/src/ncurses/ncurses-6.5+20250816-1.x86_64/src/ncurses-6.5-20250816=/usr/src/debug/ncurses-6.5+20250816-1 
  \
		-o libncurses++w.la ../obj_lo/cursesf.lo ../obj_lo/cursesm.lo 
../obj_lo/cursesw.lo ../obj_lo/cursespad.lo ../obj_lo/cursesp.lo 
../obj_lo/cursslk.lo ../obj_lo/cursesapp.lo ../obj_lo/cursesmain.lo \
	-rpath /usr/lib \
	-version-number 10:0 -no-undefined -L../lib -lformw -lmenuw -lpanelw -lncursesw 
  -L../lib ../lib/libformw.la ../lib/libmenuw.la ../lib/libpanelw.la 
../lib/libncursesw.la   -lutil
/usr/lib/gcc/x86_64-pc-cygwin/13/../../../../x86_64-pc-cygwin/bin/ld: cannot 
find /usr/lib/gcc/x86_64-pc-cygwin/12/crtbeginS.o: No such file or directory
/usr/lib/gcc/x86_64-pc-cygwin/13/../../../../x86_64-pc-cygwin/bin/ld: cannot 
find /usr/lib/gcc/x86_64-pc-cygwin/12/crtend.o: No such file or directory
collect2: error: ld returned 1 exit status

$ cygcheck -p /usr/lib/gcc/x86_64-pc-cygwin/12/
Found 2 matches for /usr/lib/gcc/x86_64-pc-cygwin/12/
gcc-debuginfo-12.4.0-3 - gcc-debuginfo: Debug info for gcc
gcc-debuginfo-12.5.0-1 - gcc-debuginfo: Debug info for gcc

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher  but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019