GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

71 versions of Linux.

ProgramAgeSizeByWWWSummary
Linux 4.13.2-r1 783  88794 Luca...
The Linux Kernel.
Linux 4.9.16-r3 954  100651 Luca...
The Linux Kernel.
view entry at GitHub | download recipe.bz2 file
01-gobohide.patch
02-apple-gmux.patch
03-macbook-suspend.patch
04-apple-poweroff-quirk-workaround.patch
05-gold_linker-relocation.patch
06-gold_linker-kbuild.patch
07-virtio_net-error.patch
Recipe
Resources/BuildDependencies
Resources/BuildInformation
Resources/Dependencies
Resources/Description
cell/02-memcpy-cell.patch
cell/Recipe
cell/dot-config
i686/Recipe
i686/dot-config
ppc/Recipe
ppc/dot-config
x86_64/Recipe
x86_64/WriteBoot64
x86_64/dot-config
Matt Whitlock 2016-11-16 09:40:26 UTC
https://bugzilla.kernel.org/show_bug.cgi?id=187841

While executing the recipe for arch/x86/entry/vdso/vdsox32.so:

  gcc -nostdlib -o arch/x86/entry/vdso/vdsox32.so.dbg -fPIC -shared  -Wl,--hash-style=both  \
-Wl,--build-id -Wl,-Bsymbolic  -Wl,-m,elf32_x86_64 -Wl,-soname=linux-vdso.so.1 -Wl,-z,max-page-size=4096 \
-Wl,-z,common-page-size=4096 -Wl,-T,arch/x86/entry/vdso/vdsox32.lds arch/x86/entry/vdso/vdso-note-x32.o \
arch/x86/entry/vdso/vclock_gettime-x32.o arch/x86/entry/vdso/vgetcpu-x32.o && sh \
./arch/x86/entry/vdso/checkundef.sh 'nm' 'arch/x86/entry/vdso/vdsox32.so.dbg'

arch/x86/entry/vdso/vclock_gettime-x32.o:vclock_gettime.c:function __vdso_clock_gettime: \
error: relocation overflow: reference to 'vvar_vsyscall_gtod_data'
arch/x86/entry/vdso/vclock_gettime-x32.o:vclock_gettime.c:function __vdso_gettimeofday: \
error: relocation overflow: reference to 'vvar_vsyscall_gtod_data'
arch/x86/entry/vdso/vclock_gettime-x32.o:vclock_gettime.c:function __vdso_time: error: \
relocation overflow: reference to 'vvar_vsyscall_gtod_data'
collect2: error: ld returned 1 exit status

This error causes the subsequent call to objcopy to fail, thus aborting the build.

  objcopy -S  arch/x86/entry/vdso/vdsox32.so.dbg arch/x86/entry/vdso/vdsox32.so
objcopy: 'arch/x86/entry/vdso/vdsox32.so.dbg': No such file
make[3]: *** [arch/x86/entry/vdso/Makefile:124: arch/x86/entry/vdso/vdsox32.so] Error \
1


$ ld --version | head -n1
GNU gold (Gentoo 2.27 p1.0 2.27) 1.12

A workaround is to force usage of the BFD linker when linking the x32 VDSO:

--- linux-4.9.4/arch/x86/entry/vdso/Makefile.orig	2017-01-16 21:10:06.900368738 -0200
+++ linux-4.9.4/arch/x86/entry/vdso/Makefile	2017-01-16 21:10:23.498369049 -0200
@@ -97,6 +97,7 @@ CFLAGS_REMOVE_vvar.o = -pg
 
 CPPFLAGS_vdsox32.lds = $(CPPFLAGS_vdso.lds)
 VDSO_LDFLAGS_vdsox32.lds = -Wl,-m,elf32_x86_64 \
+			   -fuse-ld=bfd \
 			   -Wl,-soname=linux-vdso.so.1 \
 			   -Wl,-z,max-page-size=4096 \
 			   -Wl,-z,common-page-size=4096
Linux 4.9.4-r5 1010  99374 Luca...
The Linux Kernel.
Linux 4.8.2-r2 1076  89394 Luca...
The Linux Kernel.
Linux 4.7.4-r1 1146  82767 Luca...
The Linux Kernel.
Linux 4.7.0-r4 1201  82585 Luca...
The Linux Kernel.
Linux 3.13.3-r1 2081  252629 Luca...
The Linux Kernel.
Linux 3.12.6-r1 2141  238949 Luca...
The Linux Kernel.
Linux 3.9.4-r2 2336  70048 Luca...
The Linux Kernel.
Linux 3.7.1-r2 2509  67579 Luca...
The Linux Kernel.
Linux 3.5.0-r1 2660  124391 Luca...
The Linux Kernel.
Linux 3.4.4-r1 2660  124348 Luca...
The Linux Kernel.
Linux 3.3.6-r1 2660  124410 Luca...
The Linux Kernel.
Linux 3.2.12-r2 2788  124345 Luca...
The Linux Kernel.
Linux 3.2.7-r1 2818  123550 Mich...
The Linux Kernel.
Linux 3.1.1-r1 2923  122907 Mich...
The Linux Kernel.
Linux 3.0.4-r4 2984  122754 Luca...
The Linux Kernel.
Linux 2.6.36.3-r1 3207  116087 Diog...
The Linux Kernel.
Linux 2.6.32.3-r1 3585  117990 Luca...
The Linux Kernel.
Linux 2.6.32-r1 3626  117751 Luca...
The Linux Kernel.
Linux 2.6.31.6-r3 3631  126499 Luca...
The Linux Kernel.
Linux 2.6.30.5-r1 3710  166102 Jona...
The Linux Kernel.
Linux 2.6.29.1-r1 3853  117500 Luca...
The Linux Kernel.
Linux 2.6.28.7-r1 3909  115518 Giam...
The Linux Kernel.
Linux 2.6.28.1-r1 3909  115487 Giam...
The Linux Kernel.
Linux 2.6.28-r1 3909  116681 Mich...
The Linux Kernel.
Linux 2.6.27.8-r1 3909  134160 Giam...
The Linux Kernel.
Linux 2.6.27.4-r3 3909  149529 Luca...
The Linux Kernel.
Linux 2.6.25.17-r1 3909  172834 Giam...
The Linux Kernel.
Linux 2.6.25.16-r1 3909  166500 Giam...
The Linux Kernel.
Linux 2.6.25.10-r2 3909  165320 Giam...
The Linux Kernel.
Linux 2.6.25.7-r1 3909  157294 Giam...
The Linux Kernel.
Linux 2.6.25.4-r1 3909  133017 Hopp...
The Linux Kernel.
Linux 2.6.25-r1 3909  133216 Luca...
The Linux Kernel.
Linux 2.6.24.4-r5 3909  150733
The Linux Kernel.
Linux 2.6.24.3-r5 3909  150221 Luca...
The Linux Kernel.
Linux 2.6.24.2-r3 3909  146488 Giam...
The Linux Kernel.
Linux 2.6.24.1-r1 3909  146454 Giam...
The Linux Kernel.
Linux 2.6.24-r1 3909  146428 Luca...
The Linux Kernel.
Linux 2.6.23.8-r4 3909  155842 Luca...
The Linux Kernel.
Linux 2.6.22.7-r4 3909  114727 Luca...
The Linux Kernel.
Linux 2.6.22.1-r1 3909  121391 Luca...
The Linux Kernel.
Linux 2.6.21.1-r3 3909  118854 Luca...
The Linux Kernel.
Linux 2.6.20.7-r1 3909  117945 Luca...
The Linux Kernel.
Linux 2.6.20.4-r3 3909  151150 Luca...
The Linux Kernel.
Linux 2.6.20-r1 3909  106429 Luca...
The Linux Kernel.
Linux 2.6.18.3-r2 3909  111124 Luca...
The Linux Kernel.
Linux 2.6.17.11-r1 3909  164053 Luca...
The Linux Kernel.
Linux 2.6.17.3-r1 3909  165067 Luca...
The Linux Kernel.
Linux 2.6.16.20-r1 3909  133625 Luca...
The Linux Kernel.
Linux 2.6.16.14-r1 3909  168270 Luca...
The Linux Kernel.
Linux 2.6.15.5-r1 3909  224686 Jona...
The Linux Kernel.
Linux 2.6.15.2-r1 3909  177165 Carl...
The Linux Kernel.
Linux 2.6.15.1-r1 3909  149219 Jona...
The Linux Kernel.
Linux 2.6.15-r1 3909  149214 Luca...
The Linux Kernel.
Linux 2.6.14.4-r1 3909  150166 Jona...
The Linux Kernel.
Linux 2.6.14.3-r1 3909  150060 Jona...
The Linux Kernel.
Linux 2.6.14.2-r1 3909  149791 Carl...
The Linux Kernel.
Linux 2.6.13.4-r1 3909  149559 Luca...
The Linux Kernel.
Linux 2.6.13.2-r1 3909  56611 Jona...
The Linux Kernel.
Linux 2.6.13.1-r1 3909  56378 Luca...
The Linux Kernel.
Linux 2.6.12.2-r1 3909  50355 Luca...
The Linux Kernel.
Linux 2.6.11.9-r1 3909  98969 Luca...
The Linux Kernel.
Linux 2.6.11.8-r1 3909  109424 Jona...
The Linux Kernel.
Linux 2.6.11-r1 3909  99032 Luca...
The Linux Kernel.
Linux 2.6.10-r1 3909  65969 Luca...
The Linux Kernel.
Linux 2.6.9-r1 3909  278461 Luca...
The Linux Kernel.
Linux 2.6.8.1-r1 3909  35576 Luca...
The Linux Kernel.
Linux 2.6.7-r1 3909  22610 Luca...
The Linux Kernel.
Linux 2.6.6-r1 3909  21958 Luca...
The Linux Kernel.
Linux 2.4.26-r1 3909  22359 Luca...
The Linux Kernel.