Failure to compile on 64bit with gcc 4.4 #227

issue WPettersson opened this issue on May 16, 2011
  1. WPettersson commented at 6:09 AM on May 16, 2011: none

    With gcc 4.4, the assembly code for detecting 128bit SSE2 fails to compile, since push/pop don't accept 32bit registers in 64bit instruction sets, and ebx is only 32bit. I will submit a patch that detects x86_64 and uses appropriate new registers.

    g++ -c -I/usr/include/db4.8 -DFOURWAYSSE2 -DUSE_SSL -DNOPCH -Wno-invalid-offsetof -Wformat -O2 -march=core2 -pipe -o obj/nogui/main.o main.cpp

    main.cpp: Assembler messages: main.cpp:3162: Error: suffix or operands invalid for push' main.cpp:3162: Error: suffix or operands invalid forpop' main.cpp:3162: Error: suffix or operands invalid for push' main.cpp:3162: Error: suffix or operands invalid forpop' main.cpp:3162: Error: suffix or operands invalid for push' main.cpp:3162: Error: suffix or operands invalid forpop'

  2. jgarzik commented at 6:10 AM on May 16, 2011: contributor

    This issue has already been fixed in current upstream git (by deleting the asm code).

  3. jgarzik closed this on May 16, 2011

  4. dexX7 referenced this in commit 7dc7f31bfe on Sep 9, 2015
  5. destenson referenced this in commit 7f9af3f9bc on Jun 26, 2016
  6. ptschip referenced this in commit bb2cdd009e on Jan 9, 2017
  7. deadalnix referenced this in commit bfe3cb127f on May 10, 2017
  8. lateminer referenced this in commit 2575169a08 on Dec 9, 2017
  9. classesjack referenced this in commit b5e31ad409 on Jan 2, 2018
  10. laanwj referenced this in commit d1fc827300 on Jul 10, 2019
  11. rajarshimaitra referenced this in commit b524a9a312 on Aug 5, 2021
  12. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 21:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me