delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/02/13/03:02:00

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6B86F385840A
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=message-id:date:mime-version:user-agent:content-language:to:from
:subject:content-transfer-encoding;
bh=DsbD9riCHDn+Ec5E5/9OgMPR98vTinFOGxSgDvmr0ik=;
b=SKPbM+ofcPMOTfsn2yXB2RwHcec5JnVAKLIV+ZmPTD1IJxGHJFute3FFkB4ow1FrCa
iku9ZjR/qicISE0pI39BaIXKON4LuMpRY9tfmFbybs7RgLB3jvg47bEDtosn9BY8gDCJ
U18b/c+sM3zNlssNBjuLcPC8xhsDZJagbH9O+53wGfSElRcTrBe2DGzkEKkf9Snapedq
0zbvq7KX+uMdwh0yM2tdowj8nCLSqxXERqqWN8JfnQ0Jdq7Bh90SPk9U4Vov+/D5gafA
KJaLnUuMJf57i7OBRfrmPh02IEwaOaIviiID36liQM/+6EfQnZJJZuKwM2YoyrMIExrB
6Gkw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:message-id:date:mime-version:user-agent
:content-language:to:from:subject:content-transfer-encoding;
bh=DsbD9riCHDn+Ec5E5/9OgMPR98vTinFOGxSgDvmr0ik=;
b=0VsGPw+0Q6KHC3xe4PJEsVBZaUcaveHNhiKsK6oI8C81dPUJkh5dd8aZaGoDW21OED
FF3IVI7TjTG35SZLEkOKGBCvimwAfkSeDIfdjMYMHRmU099x0DMt0AK10Dq1E5hLScUi
3DPWEWHE2s22dRJFPcAeTZ6T5BFPIKHOB9KUTR//qqe5dswjTPCJcYo/N9N9y3FMhdqN
aOydjr5AjZ9bljUQNSRxHh97FNO5wjMTzUcgHxE8mMsfW/mwooR8p7cEtzqkM8DGDqsu
pa1gaRVnCHmrIicv/l77UlOe+38s4VvhrQRa/zn/EpPt0/e7c8FXlPF3/chfCnaXicLL
b6tw==
X-Gm-Message-State: AOAM532Q/umF2KPAR2UlPNzDTBFCJMevpPrwKlygqEqah4nJRh6r4ovO
rdifvF6prRY7xdyBbKH9rfo4DmiW3tg=
X-Google-Smtp-Source: ABdhPJxJkEZaojQUUfeXFiGFgScyopw4X6e3UgGoUtsHLBF9alqeV/41mhvfRuX+8e8u6ZbinV2H/g==
X-Received: by 2002:a17:906:72ce:: with SMTP id
m14mr715613ejl.186.1644739296361;
Sun, 13 Feb 2022 00:01:36 -0800 (PST)
Message-ID: <a9760a01-47fb-f1e9-4ffc-daa9ebb6350b@gmail.com>
Date: Sun, 13 Feb 2022 09:01:34 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.6.0
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Subject: gcc and -flto
X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_SHORT,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
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>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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

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