Skip to content

linux compile fail #43

@mosfet80

Description

@mosfet80

opensuse tumbleweed
gcc 15
compilation failed

/usr/bin/ld: ../libmimick.a(core.c.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: failed to set dynamic section sizes: bad value
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[5]: *** [test/CMakeFiles/mmk_test_cxx.dir/build.make:103: test/mmk_test_cxx] Error 1
gmake[4]: *** [CMakeFiles/Makefile2:316: test/CMakeFiles/mmk_test_cxx.dir/all] Error 2
gmake[3]: *** [Makefile:146: all] Error 2
gmake[2]: *** [CMakeFiles/mimick_vendor.dir/build.make:86: mimick_vendor-prefix/src/mimick_vendor-stamp/mimick_vendor-build] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:153: CMakeFiles/mimick_vendor.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

Metadata

Metadata

Assignees

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