public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* gcc and -flto
@ 2022-02-13  8:01 Marco Atzeri
  0 siblings, 0 replies; only message in thread
From: Marco Atzeri @ 2022-02-13  8:01 UTC (permalink / raw)
  To: cygwin

Hi Achim, Jonathan,

noted on latest guile 3.0.8

this problem

Cygwin runtime failure: 
/pub/devel/guile/guile30/guile3.0-3.0.8-1.x86_64/build/libguile/.libs/guile.exe: 
Invalid relocation.  Offset 0x45a4eb486 at address 0x100401086 doesn't 
fit into 32 bits

goes away removing the `-flto` from CFLAGS

What is strange is that from documentation
https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html

it should be only for ELF, but it seems doing something wrong
on Cygwin

Reported here just in case someone else hit the same problem.

Regards
Marco

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-13  8:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-13  8:01 gcc and -flto Marco Atzeri

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).