git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

Previous: Tuncer AyazNext: Jeff King
Message 10 of 15 in “745224e0 gcc-4.9 emmintrin.h build error”
  1. Tuncer AyazJul 10, 2014
  2. Tuncer AyazJul 10, 2014
  3. Jeff KingJul 10, 2014
  4. Tuncer AyazJul 10, 2014
  5. David TurnerJul 10, 2014
  6. Tuncer AyazJul 10, 2014
  7. David TurnerJul 10, 2014
  8. Tuncer AyazJul 10, 2014
  9. Tuncer AyazJul 10, 2014
  10. David TurnerJul 10, 2014
  11. Jeff KingJul 12, 2014
  12. Tuncer AyazJul 12, 2014
  13. Jeff KingJul 14, 2014
  14. Tuncer AyazJul 12, 2014
  15. Jeff KingJul 14, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.