public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* gcc v.11.3.0 failing - possible cause gcc or libreadline.a?
@ 2022-12-14 10:42 Fergus Daly
  2022-12-15  8:06 ` Fergus Daly
  0 siblings, 1 reply; 4+ messages in thread
From: Fergus Daly @ 2022-12-14 10:42 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'; +Cc: Fergus Daly

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.
It's a while since I attempted this build of myexe (myarchive has been unaltered for years) and the attempt is triggered by a reported bug in gcc -pg after update that has been corrected.
I don't know whether it is a change in readline (libreadline.a) or gcc that has possibly caused the glitch (and obviously I cannot and do not expect anybody to debug my build for me) but is this glitch familiar to anybody through current or previous experience, or by appearance, that means you could point to cause or possible cause?
Thank you!


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-12-19 12:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-14 10:42 gcc v.11.3.0 failing - possible cause gcc or libreadline.a? Fergus Daly
2022-12-15  8:06 ` Fergus Daly
2022-12-17 22:40   ` Brian Inglis
2022-12-19 12:13   ` Fergus Daly

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).