GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

71 versions of Linux.

ProgramAgeSizeByWWWSummary
Linux 4.13.2-r1 699  88794 Luca...
The Linux Kernel.
view entry at GitHub | download recipe.bz2 file
01-gobohide.patch
02-apple-gmux.patch
03-RFC-PCI-Workaround-to-enable-poweroff-on-Mac-Pro-11.patch
04-RFC-v2-PCI-Workaround-to-enable-poweroff-on-Mac-Pro-11.patch
05-gold_linker-relocation.patch
06-gold_linker-kbuild.patch
Recipe
Resources/BuildDependencies
Resources/BuildInformation
Resources/Dependencies
Resources/Description
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.16-r3 870  100651 Luca...
The Linux Kernel.
Linux 4.9.4-r5 926  99374 Luca...
The Linux Kernel.
Linux 4.8.2-r2 992  89394 Luca...
The Linux Kernel.
Linux 4.7.4-r1 1062  82767 Luca...
The Linux Kernel.
Linux 4.7.0-r4 1117  82585 Luca...
The Linux Kernel.
Linux 3.13.3-r1 1997  252629 Luca...
The Linux Kernel.
Linux 3.12.6-r1 2057  238949 Luca...
The Linux Kernel.
Linux 3.9.4-r2 2252  70048 Luca...
The Linux Kernel.
Linux 3.7.1-r2 2425  67579 Luca...
The Linux Kernel.
Linux 3.5.0-r1 2576  124391 Luca...
The Linux Kernel.
Linux 3.4.4-r1 2576  124348 Luca...
The Linux Kernel.
Linux 3.3.6-r1 2576  124410 Luca...
The Linux Kernel.
Linux 3.2.12-r2 2704  124345 Luca...
The Linux Kernel.
Linux 3.2.7-r1 2734  123550 Mich...
The Linux Kernel.
Linux 3.1.1-r1 2839  122907 Mich...
The Linux Kernel.
Linux 3.0.4-r4 2900  122754 Luca...
The Linux Kernel.
Linux 2.6.36.3-r1 3123  116087 Diog...
The Linux Kernel.
Linux 2.6.32.3-r1 3501  117990 Luca...
The Linux Kernel.
Linux 2.6.32-r1 3542  117751 Luca...
The Linux Kernel.
Linux 2.6.31.6-r3 3547  126499 Luca...
The Linux Kernel.
Linux 2.6.30.5-r1 3626  166102 Jona...
The Linux Kernel.
Linux 2.6.29.1-r1 3769  117500 Luca...
The Linux Kernel.
Linux 2.6.28.7-r1 3825  115518 Giam...
The Linux Kernel.
Linux 2.6.28.1-r1 3825  115487 Giam...
The Linux Kernel.
Linux 2.6.28-r1 3825  116681 Mich...
The Linux Kernel.
Linux 2.6.27.8-r1 3825  134160 Giam...
The Linux Kernel.
Linux 2.6.27.4-r3 3825  149529 Luca...
The Linux Kernel.
Linux 2.6.25.17-r1 3825  172834 Giam...
The Linux Kernel.
Linux 2.6.25.16-r1 3825  166500 Giam...
The Linux Kernel.
Linux 2.6.25.10-r2 3825  165320 Giam...
The Linux Kernel.
Linux 2.6.25.7-r1 3825  157294 Giam...
The Linux Kernel.
Linux 2.6.25.4-r1 3825  133017 Hopp...
The Linux Kernel.
Linux 2.6.25-r1 3825  133216 Luca...
The Linux Kernel.
Linux 2.6.24.4-r5 3825  150733
The Linux Kernel.
Linux 2.6.24.3-r5 3825  150221 Luca...
The Linux Kernel.
Linux 2.6.24.2-r3 3825  146488 Giam...
The Linux Kernel.
Linux 2.6.24.1-r1 3825  146454 Giam...
The Linux Kernel.
Linux 2.6.24-r1 3825  146428 Luca...
The Linux Kernel.
Linux 2.6.23.8-r4 3825  155842 Luca...
The Linux Kernel.
Linux 2.6.22.7-r4 3825  114727 Luca...
The Linux Kernel.
Linux 2.6.22.1-r1 3825  121391 Luca...
The Linux Kernel.
Linux 2.6.21.1-r3 3825  118854 Luca...
The Linux Kernel.
Linux 2.6.20.7-r1 3825  117945 Luca...
The Linux Kernel.
Linux 2.6.20.4-r3 3825  151150 Luca...
The Linux Kernel.
Linux 2.6.20-r1 3825  106429 Luca...
The Linux Kernel.
Linux 2.6.18.3-r2 3825  111124 Luca...
The Linux Kernel.
Linux 2.6.17.11-r1 3825  164053 Luca...
The Linux Kernel.
Linux 2.6.17.3-r1 3825  165067 Luca...
The Linux Kernel.
Linux 2.6.16.20-r1 3825  133625 Luca...
The Linux Kernel.
Linux 2.6.16.14-r1 3825  168270 Luca...
The Linux Kernel.
Linux 2.6.15.5-r1 3825  224686 Jona...
The Linux Kernel.
Linux 2.6.15.2-r1 3825  177165 Carl...
The Linux Kernel.
Linux 2.6.15.1-r1 3825  149219 Jona...
The Linux Kernel.
Linux 2.6.15-r1 3825  149214 Luca...
The Linux Kernel.
Linux 2.6.14.4-r1 3825  150166 Jona...
The Linux Kernel.
Linux 2.6.14.3-r1 3825  150060 Jona...
The Linux Kernel.
Linux 2.6.14.2-r1 3825  149791 Carl...
The Linux Kernel.
Linux 2.6.13.4-r1 3825  149559 Luca...
The Linux Kernel.
Linux 2.6.13.2-r1 3825  56611 Jona...
The Linux Kernel.
Linux 2.6.13.1-r1 3825  56378 Luca...
The Linux Kernel.
Linux 2.6.12.2-r1 3825  50355 Luca...
The Linux Kernel.
Linux 2.6.11.9-r1 3825  98969 Luca...
The Linux Kernel.
Linux 2.6.11.8-r1 3825  109424 Jona...
The Linux Kernel.
Linux 2.6.11-r1 3825  99032 Luca...
The Linux Kernel.
Linux 2.6.10-r1 3825  65969 Luca...
The Linux Kernel.
Linux 2.6.9-r1 3825  278461 Luca...
The Linux Kernel.
Linux 2.6.8.1-r1 3825  35576 Luca...
The Linux Kernel.
Linux 2.6.7-r1 3825  22610 Luca...
The Linux Kernel.
Linux 2.6.6-r1 3825  21958 Luca...
The Linux Kernel.
Linux 2.4.26-r1 3825  22359 Luca...
The Linux Kernel.