-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
abi-sfThe software floating point ABI for various architecturesThe software floating point ABI for various architecturesarch-mips32-bit MIPS32-bit MIPSbugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behavior
Milestone
Description
Zig Version
0.10.0-dev.2489+33826a6a2
Steps to Reproduce
Source:
https://github.com/pion/example-webrtc-applications/tree/master/gstreamer-send
Command:
CGO_ENABLED=1 GOOS=linux GOARCH=mips GOMIPS=softfloat CC="zig cc -target mips-linux -mfloat-abi=soft" CXX="zig c++ -target mips-linux -mfloat-abi=soft" go build .Expected Behavior
It should compile without errors.
Actual Behavior
Result:
ld.lld: error: /home/mutexstream/.cache/zig/o/27c934a305bc7be2d3dc8209ed181ee2/crti.o: floating point ABI '-mdouble-float' is incompatible with target floating point ABI '-msoft-float'
ld.lld: error: /home/mutexstream/.cache/zig/o/4a7bb80591134121bd13936b0782e780/libc.a(/home/mutexstream/.cache/zig/o/c7de9ffe26be171b78c4809ff561c333/__unmapself.o): floating point ABI '-mdouble-float' is incompatible with target floating point ABI '-msoft-float'
ld.lld: error: /home/mutexstream/.cache/zig/o/4a7bb80591134121bd13936b0782e780/libc.a(/home/mutexstream/.cache/zig/o/38b8c57188dffb80bf0d2fa0959fd2cb/clone.o): floating point ABI '-mdouble-float' is incompatible with target floating point ABI '-msoft-float'
ld.lld: error: /home/mutexstream/.cache/zig/o/4a7bb80591134121bd13936b0782e780/libc.a(/home/mutexstream/.cache/zig/o/746141585860bd845bda6a5f649db21c/restore.o): floating point ABI '-mdouble-float' is incompatible with target floating point ABI '-msoft-float'
ld.lld: error: /home/mutexstream/.cache/zig/o/dcf4f837f4fab0017d6efd54aff4f7cf/crtn.o: floating point ABI '-mdouble-float' is incompatible with target floating point ABI '-msoft-float'Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
abi-sfThe software floating point ABI for various architecturesThe software floating point ABI for various architecturesarch-mips32-bit MIPS32-bit MIPSbugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behavior