| delorie.com/archives/browse.cgi | search |
| DMARC-Filter: | OpenDMARC Filter v1.4.2 delorie.com 57NJKDpo2831774 |
| 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 57NJKDpo2831774 |
| 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=btak/gqo | |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 275023858434 |
| DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
| s=default; t=1755976812; | |
| bh=EB36v0e+Z5wenVYXjl9kJlMB/BeWPKFBDqbuLmuFZrM=; | |
| h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: | |
| List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: | |
| From; | |
| b=btak/gqoZ1oFMxje/eUiQm9ku1H+bC4JXCuVD/ATCS9WhHWRXraOS/sl07cK9/but | |
| euU4HQ5W2bmZ04iVO3/xrT0ELPfVZ5zZhnzpBQmFeQMkaYNl8RZJN4lEKNeep1ohM2 | |
| blksTjfQekfPD9US+FTwHxMwOmOc9s3Au6LYik7E= | |
| X-Original-To: | cygwin AT cygwin DOT com |
| Delivered-To: | cygwin AT cygwin DOT com |
| DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org B99EA3858C40 |
| ARC-Filter: | OpenARC Filter v1.0.0 sourceware.org B99EA3858C40 |
| ARC-Seal: | i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1755976786; cv=none; |
| b=np0ysBuwgUjuJLOCdztNEsJcA6AXZlKzl2z77dCFWCQqeuKdlyVCQ76RCJP3bvEl8GWpfV7Xk5gXpU2Wis8Zw8+5xnoBBeaKHNhI/orE6AqAQCKVZnuIEc03KXlsbnaCu4O38KsJOAwf0F9qDeiuBDMC5cPiBF9RThguo6ZZp9U= | |
| ARC-Message-Signature: | i=1; a=rsa-sha256; d=sourceware.org; s=key; |
| t=1755976786; c=relaxed/simple; | |
| bh=SGVZeU8CgRDBlManvrwcnnq3sUNHx1mHXhpLDdGWJR4=; | |
| h=Message-ID:Date:MIME-Version:From:Subject:To:DKIM-Signature; | |
| b=nVUU5R11RGsTb6xi+a8kSA4SGaMdIa8flvmNk3ExjvOLB43JX61jcx580WhyBl2t/q3MpqxHDBqKdfO4s8Bz0O22q3VY9/JOmSIvMZu2YVHNCYQUbGpUiwNWJLRrk4mj6UKoIHciwYmYU2aGfEYgCO/Wz/heHgzI8w8ZQ+FvojI= | |
| ARC-Authentication-Results: | i=1; server2.sourceware.org |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org B99EA3858C40 |
| Message-ID: | <2df39ac5-94cf-4552-b5d7-5a6ee7ed6454@systematicsw.ab.ca> |
| Date: | Sat, 23 Aug 2025 13:19:43 -0600 |
| MIME-Version: | 1.0 |
| User-Agent: | Mozilla Thunderbird |
| Subject: | Re: gcc 13 collect2 ld also failing in scallywag! |
| To: | cygwin AT cygwin DOT com |
| References: | <3399d319-d0ed-4bb2-b67f-8439ec5b8b4b AT SystematicSW DOT ab DOT ca> |
| Organization: | Systematic Software |
| In-Reply-To: | <3399d319-d0ed-4bb2-b67f-8439ec5b8b4b@SystematicSW.ab.ca> |
| X-Rspamd-Server: | rspamout04 |
| X-Rspamd-Queue-Id: | DF64A30 |
| X-Stat-Signature: | 1yi83k7u3fe1ic5z8m9ua8koig7in3w9 |
| X-Session-Marker: | 427269616E2E496E676C69734053797374656D6174696353572E61622E6361 |
| X-Session-ID: | U2FsdGVkX1+pqa2IR+INe4uO4o2tREjS+hEbNMTuVcs= |
| X-HE-Tag: | 1755976784-354084 |
| X-HE-Meta: | U2FsdGVkX1/jr4WXYlwl169POYKgtSMPZufd1vmADiF+iHZmmyvVHsVNJaebLxxnlK1LDrBK76raNWPxKGWFLRCBkTm2gaL7YGkYR5A5B1iG8mRU0X3u1EXGPi98sCetie8L9HhxtvxbtMG0LJ1grxhv7NvZPymiyOSlzu4wI1hPmxSbAcCeXWof2KkgJCLqlsH3k+neJgWtDOIdv+EPLVE2pHo+Ysq2/QUnDm6fuIP0ugtCSqO3iYt7LR5QdOqwqlgebBJat6krY5v2mCFvahPYyqgl7m2zBXMY7jBHF9aKHFrf8M/2ag2sFG/Rot+QHvfmt8edGPDuJZsWf6lYLc/3ursqdvUDfURVRjU8208C/AV0ZeD4W/hiVAfD7W+TawFyk8iTqlfOyWG/zdVbxz9HKDajrlM+8p/1kZ/1EARb/gpLckWNcQ== |
| 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-Unsubscribe: | <https://cygwin.com/mailman/options/cygwin>, |
| <mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
| 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> |
| Errors-To: | cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com |
| Sender: | "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com> |
| X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id 57NJKDpo2831774 |
Also failing in GitHub Scallywag CI:
https://cygwin.com/cgi-bin2/jobs.cgi?id=10262&srcpkg=ncurses&user=Brian+Inglis
https://github.com/cygwin/scallywag/actions/runs/17178449093
https://github.com/cygwin/scallywag/actions/runs/17178449093/job/48737632987
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=/cygdrive/d/a/scallywag/ncurses/ncurses-6.5+20250816-1.x86_64/build=/usr/src/debug/ncurses-6.5+20250816-1
-ffile-prefix-map=/cygdrive/d/a/scallywag/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
make[1]: *** [Makefile:383: ../lib/libncurses++w.la] Error 1
make[1]: Leaving directory
'/cygdrive/d/a/scallywag/ncurses/ncurses-6.5+20250816-1.x86_64/build/c++'
make: *** [Makefile:142: all] Error 2
*** ERROR: make failed
On 2025-08-23 13:00, Brian Inglis via Cygwin wrote:
> 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |