Add -mxgot to CPP flags, because for this test, GOT grows larger than 64k.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
MultiSource/Benchmarks/tramp3d-v4/Makefile | ||
---|---|---|
17 ↗ | (On Diff #156072) | Does a linker fails without this option? Usually a linker automatically starts to create multi-GOT if a regular single GOT is overflowed. It's interesting if this option does not work in that case. |
MultiSource/Benchmarks/tramp3d-v4/Makefile | ||
---|---|---|
17 ↗ | (On Diff #156072) | Yes it does, with this error: additional relocation overflows omitted from the output |
MultiSource/Benchmarks/tramp3d-v4/Makefile | ||
---|---|---|
17 ↗ | (On Diff #156072) | Interesting. What options do you use to build the test case: 32/64 static/dynamic etc? |
Comment Actions
The test fail can be reproduced by running optimization level -O0 or -O1 with mips64r6 n64. Both big- and little-endian fail.
Comment Actions
I forget that tramp3d-v4 test case consists a single file and this file is big enough. Could you apply the same changes to the CMakeLists.txt?