Bug 1748181 - ImageMagick-6.9.10.28-4.fc32 FTBFS on aarch64: /usr/bin/ld: Magick++/lib/.libs/libMagick___6_Q16_la-Blob.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `_ZTVN6Magick4BlobE' which may bind externally can not be used when making a shared object; re
Summary: ImageMagick-6.9.10.28-4.fc32 FTBFS on aarch64: /usr/bin/ld: Magick++/lib/.lib...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ImageMagick
Version: rawhide
Hardware: aarch64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michael Cronenworth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1748529
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-03 06:10 UTC by Petr Pisar
Modified: 2019-09-14 02:31 UTC (History)
3 users (show)

Fixed In Version: ImageMagick-6.9.10.64-1.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-14 02:31:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2019-09-03 06:10:25 UTC
It seems ImageMagick-6.9.10.28-4.fc32 fails to build on aarch64:

make[1]: Entering directory '/builddir/build/BUILD/ImageMagick-6.9.10-28'
  CC       utilities/animate.o
  CC       magick/libMagickCore_6_Q16_la-accelerate.lo
BUILDSTDERR: annobin: magick/accelerate.c: ICE: Should be 64-bit target
BUILDSTDERR: annobin: magick/accelerate.c: ICE: Should be 64-bit target
BUILDSTDERR: annobin: magick/accelerate.c: ICE: Should be 64-bit target
BUILDSTDERR: annobin: magick/accelerate.c: ICE: Should be 64-bit target
BUILDSTDERR: annobin: magick/accelerate.c: ICE: Should be 64-bit target
[...]
  CXXLD    Magick++/lib/libMagick++-6.Q16.la
BUILDSTDERR: /usr/bin/ld: Magick++/lib/.libs/libMagick___6_Q16_la-Blob.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `_ZTVN6Magick4BlobE' which may bind externally can not be used when making a shared object; recompile with -fPIC
[...]
BUILDSTDERR: collect2: error: ld returned 1 exit status
BUILDSTDERR: make[1]: *** [Makefile:6060: Magick++/lib/libMagick++-6.Q16.la] Error 1
BUILDSTDERR: make: *** [Makefile:5677: all] Error 2

Comment 1 Petr Pisar 2019-09-03 06:13:15 UTC
A difference between passing and failing build root is at <https://apps.fedoraproject.org/koschei/build/6905663>.

Upgrading gcc-c++ from 9.1.1-2.fc31.1 to 9.2.1-1.fc32 and annobin from 8.78-1.fc31 to 8.79-1.fc32 is suspicious.

Comment 2 Michael Cronenworth 2019-09-14 02:31:16 UTC
Should be fixed in the latest upstream release. If not please reopen.


Note You need to log in before you can comment on or make changes to this bug.