Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #62986

Bug#918188: linux: FTBFS on arm64

From Noah Meyerhans <noahm@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#918188: linux: FTBFS on arm64
Date 2019-01-05 06:50 +0100
Message-ID <xcN0l-1uM-1@gated-at.bofh.it> (permalink)
References <xcqQa-5dd-9@gated-at.bofh.it> <xcqQa-5dd-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Fri, Jan 04, 2019 at 06:57:21AM +0100, Salvatore Bonaccorso wrote:
> >   LD      vmlinux.o
> >   MODPOST vmlinux.o
> >   GEN     .version
> >   CHK     include/generated/compile.h
> >   UPD     include/generated/compile.h
> >   CC      init/version.o
> >   LD      init/built-in.o
> > ./drivers/firmware/efi/libstub/lib.a(arm64-stub.stub.o): In function `handle_kernel_image':
> > ./debian/build/build_arm64_none_arm64/./drivers/firmware/efi/libstub/arm64-stub.c:63: undefined reference to `__efistub__GLOBAL_OFFSET_TABLE_'
> > ld: ./drivers/firmware/efi/libstub/lib.a(arm64-stub.stub.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against external symbol `__efistub__GLOBAL_OFFSET_TABLE_' can not be used when making a shared object; recompile with -fPIC
> > /<<PKGBUILDDIR>>/Makefile:1010: recipe for target 'vmlinux' failed
> > make[5]: *** [vmlinux] Error 1
> > Makefile:152: recipe for target 'sub-make' failed
> > make[4]: *** [sub-make] Error 2
> > Makefile:24: recipe for target '__sub-make' failed
> > make[3]: *** [__sub-make] Error 2
> > make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/build_arm64_none_arm64'
> > debian/rules.real:190: recipe for target 'debian/stamps/build_arm64_none_arm64' failed
> > make[2]: *** [debian/stamps/build_arm64_none_arm64] Error 2
> > make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> > debian/rules.gen:400: recipe for target 'build-arch_arm64_none_arm64_real' failed
> > make[1]: *** [build-arch_arm64_none_arm64_real] Error 2
> > make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> > debian/rules:41: recipe for target 'build-arch' failed
> > make: *** [build-arch] Error 2
> > dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
> 
> https://buildd.debian.org/status/fetch.php?pkg=linux&arch=arm64&ver=4.9.144-1&stamp=1546572157&raw=0

The problem was introduced with upstream commit
27b5ebf61818749b3568354c64a8ec2d9cd5ecca. Reverting that commit fixes
the build, but there may be a better option.

Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread


Thread

Bug#918188: linux: FTBFS on arm64 Noah Meyerhans <noahm@debian.org> - 2019-01-05 06:50 +0100

csiph-web