Skip to content

Failure to compile on 64bit with gcc 4.4  #227

@WPettersson

Description

@WPettersson

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions