Compiler flags and memory usage

Antonio Trande anto.trande at gmail.com
Sun Jun 15 16:03:02 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all.

Recently, I encountered some problems with the compilation of various
applications/libraries [1] from SeqAn project [2] of biological interest.

These compilations have been particularly annoying because it was
nearly impossible to compile on my PC without blocks dependent by
hardly memory usage.
Most RPM builds were done on Copr and Koji even if it seems impossible
to work with all default compiler flags requested in Fedora packaging
guidelines.

To pass these problems, I had to decrease '-O' optimization flag
gradually to '-O1' or '-O0', latest attempt is the removal of '-pipe'
from RPM_OPT_FLAGS.

What's best choice in these cases?
Which flags should never be removed/changed?

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1105730
[2] http://www.seqan.de/


Regards.

- -- 
Antonio Trande

mailto: sagitterATfedoraproject.org
http://www.fedoraos.worpress.com
https://fedoraproject.org/wiki/User:Sagitter
GPG Key: D400D6C4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJTncOxAAoJED2vIvfUANbE08AP+wQugFKZ6Ey0JkcH9l/d7UWT
5e2VHMD8FD/sM9bIA9hWttoPVlZm2B+vwTJAsACUSy7be8zYqKYUGSzbiBG7gEaY
J7SKELgzhRIh/VkVthfOBie6EUz68m7EGs+vu5NM/0nEfNQz69AHw3GcJBXXJCGc
c02UF7BGqhoKh9ZRJ9kvIuo/ZEJN5Jx8tDyDSkRy5qBZRb8w4cK8MUwI+5YySJAN
LbFYK2rZE5j2fEfEkmtkLb3IOpWmxZRhjKv1w6QbCltitqkoPSUUirb6COfElnIV
x+YNsjm3gX4MpEcR4T/x/H85xNpGOTL/OyUonNcGax5GdhZ2yTWFYZHbYnZTHjKN
2b93JMMFCvZ7g2fYjZdvmFdgY2TdU2yyZijd3lILlITQwfLciwF5db7EFMhC5lyC
j2wYO50eoexLV2tty91S+NNsHTFNm5u12U1/eNqxdGoGfX1FpUZqusEKMMGXQyuD
pcn9z/JKPRntYygyVa5iwNdbso+83bcRmuqagH5G3fW9fvrEN72WorPcQDNNTnog
mZSXh5qFFyvcswQz+oVqP+NwtwYQJ/GmL48QNGYs6xnx+L+2E+XRevZSvwA4OoQM
cdDbv1UvcLZYOmkn+0sytHcq022VHVp0KnjxsfMdPZD6rBvIwzVzDZGY/Gya3/Wv
3Wp7RcTAHgjEDQdlhDi3
=/3WN
-----END PGP SIGNATURE-----


More information about the devel mailing list