I had edited the PKGBUILD to use ld
instead of gold
and forgot to sync before reporting the error. Seems ld
is more strict about some options. Resolved by adding following:
export CXXFLAGS+=" -fno-strict-aliasing"
export LDFLAGS+=" -Wl,--copy-dt-needed-entries"
Pinned Comments