Re: clang/ld.lld build fails with `can't create dynamic relocation R_PPC64_ADDR64 against local symbol in readonly segment`

2021-08-11 Thread Michael Ellerman
Paul Menzel writes: > Am 29.07.21 um 10:23 schrieb Paul Menzel: > >> I just wanted to make you aware that building Linux for ppc64le with >> clang/lld.ld fails with [1]: >> >>     ld.lld: error: can't create dynamic relocation R_PPC64_ADDR64 >> against symbol: empty_zero_page in readonly segme

Re: clang/ld.lld build fails with `can't create dynamic relocation R_PPC64_ADDR64 against local symbol in readonly segment`

2021-08-11 Thread Paul Menzel
Dear Christophe, Am 11.08.21 um 16:10 schrieb Christophe Leroy: Le 10/08/2021 à 20:38, Paul Menzel a écrit : Am 29.07.21 um 10:23 schrieb Paul Menzel: I just wanted to make you aware that building Linux for ppc64le with clang/lld.ld fails with [1]: ld.lld: error: can't create dynam

Re: clang/ld.lld build fails with `can't create dynamic relocation R_PPC64_ADDR64 against local symbol in readonly segment`

2021-08-11 Thread Christophe Leroy
Le 10/08/2021 à 20:38, Paul Menzel a écrit : Dear Linux folks, Am 29.07.21 um 10:23 schrieb Paul Menzel: I just wanted to make you aware that building Linux for ppc64le with clang/lld.ld fails with [1]: ld.lld: error: can't create dynamic relocation R_PPC64_ADDR64 against symbol: em

Re: clang/ld.lld build fails with `can't create dynamic relocation R_PPC64_ADDR64 against local symbol in readonly segment`

2021-08-10 Thread Paul Menzel
Dear Linux folks, Am 29.07.21 um 10:23 schrieb Paul Menzel: I just wanted to make you aware that building Linux for ppc64le with clang/lld.ld fails with [1]:     ld.lld: error: can't create dynamic relocation R_PPC64_ADDR64 against symbol: empty_zero_page in readonly segment; recompile obj

clang/ld.lld build fails with `can't create dynamic relocation R_PPC64_ADDR64 against local symbol in readonly segment`

2021-07-29 Thread Paul Menzel
Dear Linux folks, I just wanted to make you aware that building Linux for ppc64le with clang/lld.ld fails with [1]: ld.lld: error: can't create dynamic relocation R_PPC64_ADDR64 against symbol: empty_zero_page in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext