Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
3.3
-
None
-
Asahi Fedora (arm64/aarch64), gcc 14.2.1, cip_api archive from 2024-09-19 5:20.
Description
When trying to link libqlicenseclient.a into Squish's libsquishrunnerlib.so on arm64/aarch64 Linux, GCC is unhappy:
Building /home/frosch/squish/8.0/qt5.15-qtlicd/lib/libsquishrunnerlib.so /usr/bin/ld: /home/frosch/squish/8.0/qt5.15-qtlicd/src/license//libsquishlicense.a(licenseproviderqls.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `_ZN8SquishQt10QArrayData11shared_nullE@@Qt_5' which may bind externally can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/frosch/squish/8.0/qt5.15-qtlicd/src/license//libsquishlicense.a(licenseproviderqls.o)(.text+0x116c): unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol `_ZN8SquishQt10QArrayData11shared_nullE@@Qt_5' /usr/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status
(I cannot tell if this is specific to arm64.)