[Th] rpm at sparc64

Jeff Johnson n3npq at mac.com
Mon Jun 18 18:36:30 CEST 2007


This is likely the -pie linkage and -fpie compilation, new in rpm-4.4.9.

Remove PIE compilation/linkage is the easy fix.

Upgrading binutils and/or rewriting rpm code may help.

73 de Jeff

On Jun 18, 2007, at 12:29 PM, Tomasz Mateja wrote:

> Already mentioned on devel-pl:
> http://lists.pld-linux.org/mailman/pipermail/pld-devel-pl/2007-June/ 
> 141330.html
>
> sparc64-pld-linux-gcc -O2 -fno-strict-aliasing -fwrapv - 
> mcpu=ultrasparc
> -fno-strict-aliasing -gdwarf-2 -g2 -fPIC -DPIC -D_GNU_SOURCE
> -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes
> -Wmissing-prototypes -Wno-char-subscripts -Wl,--as-needed -pie -o
> .libs/rpm rpm.o  ./build/.libs/librpmbuild.a ./lib/.libs/librpm.so
> /home/users/builder/rpm/BUILD/rpm-4.4.9/rpmdb/.libs/librpmdb.so
> -lselinux ./rpmdb/.libs/librpmdb.so
> /home/users/builder/rpm/BUILD/rpm-4.4.9/rpmio/.libs/librpmio.so -lelf
> /usr/lib64/libdb-4.5.so ./rpmio/.libs/librpmio.so
> /usr/lib64/libbeecrypt.so -lrt -lm -ldl /usr/lib64/libmagic.so
> /usr/lib64/libpopt.so -lpthread -lz /usr/lib64/libbz2.so
> rpm.o: In function `argerror':
> /home/users/builder/rpm/BUILD/rpm-4.4.9/rpmqv.c:143: relocation
> truncated to fit: R_SPARC_GOT13 against symbol `stderr@@GLIBC_2.2'
> defined in .data section in /lib64/libc.so.6
> /home/users/builder/rpm/BUILD/rpm-4.4.9/rpmqv.c:143: relocation
> truncated to fit: R_SPARC_GOT13 against symbol
> `__assert_program_name@@LIBRPM_0' defined in .bss section in
> ./lib/.libs/librpm.so
> rpm.o: In function `main':
> /home/users/builder/rpm/BUILD/rpm-4.4.9/rpmqv.c:238: relocation
> truncated to fit: R_SPARC_GOT13 against symbol
> `__assert_program_name@@LIBRPM_0' defined in .bss section in
> ./lib/.libs/librpm.so
> /home/users/builder/rpm/BUILD/rpm-4.4.9/rpmqv.c:254: relocation
> truncated to fit: R_SPARC_GOT13 against symbol `rpmQVKArgs@@LIBRPM_0'
> defined in .bss section in ./lib/.libs/librpm.so
> /home/users/builder/rpm/BUILD/rpm-4.4.9/rpmqv.c:292: relocation
> truncated to fit: R_SPARC_GOT13 against symbol `rpmQVKArgs@@LIBRPM_0'
> defined in .bss section in ./lib/.libs/librpm.so
> /home/users/builder/rpm/BUILD/rpm-4.4.9/rpmqv.c:256: relocation
> truncated to fit: R_SPARC_GOT13 against symbol `rpmQVKArgs@@LIBRPM_0'
> defined in .bss section in ./lib/.libs/librpm.so
> /home/users/builder/rpm/BUILD/rpm-4.4.9/rpmqv.c:293: relocation
> truncated to fit: R_SPARC_GOT13 against symbol `rpmDBArgs@@LIBRPMDB_0'
> defined in .bss section in
> /home/users/builder/rpm/BUILD/rpm-4.4.9/rpmdb/.libs/librpmdb.so
> /home/users/builder/rpm/BUILD/rpm-4.4.9/rpmqv.c:338: relocation
> truncated to fit: R_SPARC_GOT13 against symbol `rpmIArgs@@LIBRPM_0'
> defined in .bss section in ./lib/.libs/librpm.so
> /home/users/builder/rpm/BUILD/rpm-4.4.9/rpmqv.c:457: relocation
> truncated to fit: R_SPARC_GOT13 against symbol  
> `rpmcliRootDir@@LIBRPM_0'
> defined in .data section in ./lib/.libs/librpm.so
> /home/users/builder/rpm/BUILD/rpm-4.4.9/rpmqv.c:502: relocation
> truncated to fit: R_SPARC_GOT13 against symbol `stderr@@GLIBC_2.2'
> defined in .data section in /lib64/libc.so.6
> /home/users/builder/rpm/BUILD/rpm-4.4.9/rpmqv.c:340: additional
> relocation overflows omitted from the output
> collect2: ld returned 1 exit status
> make[2]: *** [rpm] Error 1
> make[2]: Leaving directory `/home/users/builder/rpm/BUILD/rpm-4.4.9'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/users/builder/rpm/BUILD/rpm-4.4.9'
> make: *** [all] Error 2
> error: Bad exit status from /home/users/builder/tmp/rpm-tmp.94714 (% 
> build)
>
>
> [builder at moon SPECS]$ rpm -q rpm
> rpm-4.4.8-0.1.sparc64
> [builder at moon SPECS]$ rpm -q glibc
> glibc-2.6-3.sparc64
> [builder at moon SPECS]$ rpm -q gcc
> gcc-4.2.0-5.sparc64
>
> -- 
> T.
> _______________________________________________
> pld-devel-en mailing list
> pld-devel-en at lists.pld-linux.org
> http://lists.pld-linux.org/mailman/listinfo/pld-devel-en



More information about the pld-devel-en mailing list