unofficial mirror of 
 help / color / mirror / Atom feed
* bug#48056: SWIG is compiled without optimizations
@ 2021-04-27  7:52 Ludovic Courtès
  0 siblings, 0 replies; only message in thread
From: Ludovic Courtès @ 2021-04-27  7:52 UTC (permalink / raw)
  To: 48056


--8<---------------cut here---------------start------------->8---
$ guix describe
Generacio 181	Apr 26 2021 08:47:48	(nuna)
  guix d904abe
    repository URL:
    branch: master
    commit: d904abe0768293b2322dbf355b6e41d94e769d78
$ guix build swig --log-file
--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.


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

only message in thread, other threads:[~2021-04-27  7:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-27  7:52 bug#48056: SWIG is compiled without optimizations Ludovic Courtès

unofficial mirror of 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror guix-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-bugs guix-bugs/ \
	public-inbox-index guix-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:

AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git