Re: 745224e0 gcc-4.9 emmintrin.h build error
- From
David Turner <dturner@twopensource.com>
- Date
- Jul 10, 2014, 22:58 UTC
- Message-ID
- <1405033104.3775.10.camel@stross>
- In-Reply-To
- <CAOvwQ4in4aufZX2PGkAoX4vWhg_mq+n6Baov_ifGjiyfR_UbPQ@mail.gmail.com>
On Fri, 2014-07-11 at 00:12 +0200, Tuncer Ayaz wrote:
> Sorry, didn't test properly when I tried with/without config.mak, and > PROFILE=BUILD was the problem. I had that in config.mak based on > information gathered from INSTALL and Makefile. To be clear, is > PROFILE=BUILD (still) supported?
For what it's worth, the problem seems to depend on the combination of -DNO_NOTRETURN=1 and -fprofile-use. So I can trigger the same breakage with this: --- #define NO_NORETURN 1 #include "git-compat-util.h"
int main() {} --- gcc -I. -c -fprofile-use=/tmp foo.c -o foo.o
Do we still need NO_NORETURN? Git seems to build without it under GCC 4.6.3 (Ubuntu's version).