FTBFS nspr

Mike Hommey mh at glandium.org
Tue Sep 21 08:18:12 UTC 2010


On Tue, Sep 21, 2010 at 10:09:29AM +0200, Jonathan KLEE wrote:
> Hi,
> 
> I'm trying to build nspr (4.8.4-2) for squeeze from scratch on x86_64 but I
> get the following error :
> 
> gcc -o os_Linux_x86_64.o -fvisibility=hidden    -Wall -pipe -Wall -pthread
> -O2 -fno-strict-aliasing -g -fPIC  -UDEBUG -DMOZILLA_CLIENT=1 -DNDEBUG=1
> -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_PRAGMA=1 -DXP_UNIX=1
> -D_GNU_SOURCE=1 -DHAVE_FCNTL_FILE_LOCKING=1 -DLINUX=1 -DHAVE_LCHOWN=1
> -DHAVE_STRERROR=1 -D_REENTRANT=1  -DFORCE_PR_LOG -D_PR_PTHREADS
> -UHAVE_CVAR_BUILT_ON_SEM -D_PR_INET6 -D_NSPR_BUILD_
> -I../../../../dist/include/nspr -I../../../../pr/include
> -I../../../../pr/include/private  -c os_Linux_x86_64.s
> os_Linux_x86_64.s: Assembler messages:
> os_Linux_x86_64.s:50: Error: bad register name `%rdi)'
> os_Linux_x86_64.s:65: Error: bad register name `%rdi)'
> os_Linux_x86_64.s:79: Error: bad register name `%rdi)'
> os_Linux_x86_64.s:93: Error: bad register name `%rdi)'
> 
> Enclosed the whole output of the build
> 
> I wanted to be sure I can report this as a bug first ?

Looks like you can't build i386 binaries on x86-64, which is not a RC
issue imho, but still a bug. Note you can (and should) build using the
32-bits personality (with linux32).

Mike



More information about the pkg-mozilla-maintainers mailing list