Re: gcc v.11.3.0 failing - possible cause gcc or libreadline.a?
On Thu, 15 Dec 2022 08:06:01 +, Fergus Daly wrote: In a gcc build script terminating with the instruction gcc -w -static -o myexe -O3 ./myarchive.a -lreadline -lncurses -lm I have suddenly started getting very many instances of both of ld: /usr/src/debug/readline-8.2-2/terminal.c:nn various: undefined reference to `{various}' ld: /usr/src/debug/readline-8.2-2/display.c:nn various: undefined reference to `{various}' and the build fails. The problem was with readline not gcc and I assume originates in myarchive.a and the required switch -lreadline in the gcc line rather than in readline: nevertheless I reverted both libreadline-devel and libreadline7 from 8.2-2 to 7.03 and the problem went away. Please provide a few examples which include the actual texts of "nn various" and `{various}' especially where any prefixes vary. Did you also upgrade/downgrade libncurses-devel concurrent with libreadline-devel as they are dependent? Why suppress all warnings -w from the ld (or any) phase of compilation? Those warnings could tell you what causes an issue. -- 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 à retirerbut when there is no more to cut -- Antoine de Saint-Exupéry -- 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 à retirerbut when there is no more to cut -- Antoine de Saint-Exupéry -- 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 à retirerbut 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
Cygwin 3.4.3-1 update cygheap read copy failed Win32 error 299
Just upgraded all packages including Cygwin last night and get occasional: 0 [main] cygcheck (16308) child_copy: cygheap read copy failed, 0x0..0x800022F90, done 0, windows pid 16308, Win32 error 299 1 [main] grep (5852) child_copy: cygheap read copy failed, 0x0..0x800717038, done 0, windows pid 5852, Win32 error 299 $ uname -srvmo CYGWIN_NT-10.0-19044 3.4.3-1.x86_64 2022-12-16 12:38 UTC x86_64 Cygwin $ head /proc/version CYGWIN_NT-10.0-19044 version 3.4.3-1.x86_64 (runneradmin@fv-az479-541) (gcc version 11.3.0 (GCC) ) 2022-12-16 12:38 UTC $ grep 'cygwin-3\.4\.3' less /var/log/setup.log.full /var/log/setup.log.full:libsolv: upgrade cygwin-3.4.3-1.any /var/log/setup.log.full:libsolv: - cygwin-3.3.6-1.any -> cygwin-3.4.3-1.any /var/log/setup.log.full:libsolv: upgrade cygwin-3.4.3-1.any /var/log/setup.log.full:libsolv: - cygwin-3.3.6-1.any -> cygwin-3.4.3-1.any /var/log/setup.log.full:get_url_to_file https://muug.ca/mirror/cygwin/x86_64/release/cygwin/cygwin-3.4.3-1.tar.xz D:/var/cache/setup/packages/https%3a%2f%2fmuug.ca%2fmirror%2fcygwin%2f/x86_64/release/cygwin/cygwin-3.4.3-1.tar.xz.tmp /var/log/setup.log.full:Checking SHA512 for file://D:/var/cache/setup/packages/https%3a%2f%2fmuug.ca%2fmirror%2fcygwin%2f/x86_64/release/cygwin/cygwin-3.4.3-1.tar.xz /var/log/setup.log.full:SHA512 verified OK: file://D:/var/cache/setup/packages/https%3a%2f%2fmuug.ca%2fmirror%2fcygwin%2f/x86_64/release/cygwin/cygwin-3.4.3-1.tar.xz 5314acbcb26694afd6aa0a19866ad3ff7472521e184d592c261a145b0c66ce218ca86353614ba42ee3f0fd9f085c206de6f65740a4d83cc93b0547d6ce989f0d /var/log/setup.log.full:2022/12/16 23:04:45 Downloaded D:/var/cache/setup/packages/https%3a%2f%2fmuug.ca%2fmirror%2fcygwin%2f/x86_64/release/cygwin/cygwin-3.4.3-1.tar.xz /var/log/setup.log.full:2022/12/16 23:05:20 Extracting from file://D:/var/cache/setup/packages/https%3a%2f%2fmuug.ca%2fmirror%2fcygwin%2f/x86_64/release/cygwin/cygwin-3.4.3-1.tar.xz /var/log/setup.log.full:Installing file cygfile:///usr/src/debug/cygwin-3.4.3-1/ ... Downgraded to my own recent test version with cpuinfo changes and no issues. $ uname -srvmo CYGWIN_NT-10.0-19044 3.4.0-344.x86_64 2022-12-16 06:55 UTC x86_64 Cygwin $ head /proc/version CYGWIN_NT-10.0-19044 version 3.4.0-344.x86_64 (BWI@BWI) (gcc version 11.3.0 (GCC) ) 2022-12-16 06:55 UTC Noticed current release is much smaller than previous and my local DLL: $ TZ=UTC ls -glort /bin/cygwin1*.dll -rwxr-xr-x 1 3588124 Sep 5 11:17 /bin/cygwin1-prev.dll -rwxr-xr-x 1 3561202 Dec 16 07:33 /bin/cygwin1-test.dll -rwxr-xr-x 1 3561202 Dec 16 07:33 /bin/cygwin1.dll -rwxr-xr-x 1 2951221 Dec 16 12:50 /bin/cygwin1-save.dll -rwxr-xr-x 1 2951221 Dec 16 12:50 /bin/cygwin1-curr.dll $ for tar in ~/mirror/x86_64/release/cygwin/cygwin-3.4.?-1.tar.xz; do echo -n "${tar##*/}: "; tar -tvf $tar usr/bin/cygwin1.dll | cut -d' ' -f3- ; done cygwin-3.4.0-1.tar.xz: 3563651 2022-12-04 06:09 usr/bin/cygwin1.dll cygwin-3.4.1-1.tar.xz: 3563526 2022-12-10 13:12 usr/bin/cygwin1.dll cygwin-3.4.2-1.tar.xz: 3564074 2022-12-11 05:06 usr/bin/cygwin1.dll cygwin-3.4.3-1.tar.xz: 2951221 2022-12-16 05:50 usr/bin/cygwin1.dll -- 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 à retirerbut 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
[ANNOUNCEMENT] Updated: help2man 1.49.3
The following packages have been upgraded in the Cygwin distribution: * help2man 1.49.3 Perl script that automatically creates man pages from the output from a program's --help and --version options. For more information see the project home page: https://www.gnu.org/software/help2man/ Please see below or read /usr/share/doc/help2man/ChangeLog after installation for details of changes since the last release. Version 1.49.3 December 13, 2022 * Add Korean translation of manual page. * Use @samp{} around the option in the menu description for "--help recommendations" to avoid rendering the -- as endash. * Don't translate @documentencoding. * Cleanup whitespace in po-texi/help2man-texi.pot. -- 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
[ANNOUNCEMENT] Updated: mintty 3.6.3
I have uploaded mintty 3.6.3 with the following changes: Terminal features * Fixed double-width characters not to wrap if auto-wrap disabled. * TAB may wrap to next line, or cause subsequent wrap, if enabled (#1182). * Fixed auto-wrap behaviour in double-width lines. * Overstriking character writing mode also switched with DECSET 20 (VK100, #1184). * Fixed OSC 7 (set working directory) to handle ~ prefix. * Added XTQMODKEYS state query (xterm 373). * Withdrawn DEC private SGRs (/#1171, conflict with XTQMODKEYS). * Added XTQALLOWED OSC 60 and OSC 61 (xterm 373). Unicode and Emoji data * Extend emoji information by considering Unicode file emoji-test.txt. Configuration * Option WrapTab (#1182). * New user-definable function toggle-opaque (#1168), replaces transparency-opaque. Other * Fixed crash in Options dialog when Printer Service is stopped (#1185). The homepage is at http://mintty.github.io/ It also links to the issue tracker. -- Thomas -- 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