unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludovic.courtes@inria.fr>
To: 48056@debbugs.gnu.org
Subject: bug#48056: SWIG is compiled without optimizations
Date: Tue, 27 Apr 2021 09:52:53 +0200	[thread overview]
Message-ID: <87eeew6u5m.fsf@inria.fr> (raw)

From:

--8<---------------cut here---------------start------------->8---
$ guix describe
Generacio 181	Apr 26 2021 08:47:48	(nuna)
  guix d904abe
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: d904abe0768293b2322dbf355b6e41d94e769d78
$ guix build swig --log-file
https://ci.guix.gnu.org/log/2l8f4sjw0jbfll4ilp7pzwimrh5kjdgf-swig-4.0.1
--8<---------------cut here---------------end--------------->8---

… we can see lots of warnings like this one:

--8<---------------cut here---------------start------------->8---
checking perl5 testcase abstract_inherit_ok
In file included from /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/include/bits/libc-header-start.h:33:0,
                 from /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/include/string.h:26,
                 from li_cstring_wrap.cxx:342:
/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
--8<---------------cut here---------------end--------------->8---

Compiling without optimizations sounds like a bad idea.  We should add
-O2 somewhere to the CFLAGS.

Ludo’.




                 reply	other threads:[~2021-04-27  7:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eeew6u5m.fsf@inria.fr \
    --to=ludovic.courtes@inria.fr \
    --cc=48056@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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