https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81793
Bug ID: 81793 Summary: static pie fails on powerpc-linux Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: segher at gcc dot gnu.org Target Milestone: --- The new testcases gcc.dg/pie-static-[12].c fail on powerpc-linux: spawn -ignore SIGHUP /home/segher/build/tot/gcc/xgcc -B/home/segher/build/tot/gcc/ /home/segher/src/gcc/gcc/testsuite/gcc.dg/pie-static-1.c -fno-diagnostics-show-caret -fdiagnostics-color=never -static -fpie -pie -lm -m32 -o ./pie-static-1.exe /home/segher/tot/powerpc64-unknown-linux-gnu/bin/ld: cannot find -lm /home/segher/tot/powerpc64-unknown-linux-gnu/bin/ld: cannot find -lc