[prev in list] [next in list] [prev in thread] [next in thread]
List: grub-bug
Subject: [bug #59127] grub-2.04 build failure on i386
From: Frédéric Fauberteau <INVALID.NOREPLY () gnu ! org>
Date: 2020-09-18 6:45:15
Message-ID: 20200918-064513.sv212935.81570 () savannah ! gnu ! org
[Download RAW message or body]
URL:
<https://savannah.gnu.org/bugs/?59127>
Summary: grub-2.04 build failure on i386
Project: GNU GRUB
Submitted by: triaxx
Submitted on: ven. 18 sept. 2020 06:45:13 UTC
Category: Compilation
Severity: Major
Priority: 5 - Normal
Item Group: Hardware-specific
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release:
Release: other
Discussion Lock: Any
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Details:
I try to build grub-2.04 with sources fetched from ftp://ftp.gnu.org/gnu/grub/
on NetBSD/i386 9.0. This release successfully builds on NetBSD/amd64 9.0.
The gcc version is:
$ gcc --version
gcc (nb3 20190319) 7.4.0
The binutils version is:
$ ld --version
GNU ld (NetBSD Binutils nb1) 2.31.1
The compilation error is the following:
cc -DHAVE_CONFIG_H -I. -I.. -Wall -W -DGRUB_MACHINE_PCBIOS=1
-DGRUB_MACHINE=I386_PC -m32 -I../include -I../include
-DGRUB_FILE=\"lib/i386/relocator64.S\" -I. -I. -I.. -I.. -I../include
-I../include -I../grub-core/lib/libgcrypt-grub/src/
-I/mnt/data/pkg/netbsd-9/include -I/usr/include
-I/mnt/data/pkg/netbsd-9/include/python3.8 -I/usr/X11R7/include/freetype2
-D_FILE_OFFSET_BITS=64 -g -m32 -msoft-float
-DGRUB_FILE=\"lib/i386/relocator64.S\" -I. -I. -I.. -I.. -I../include
-I../include -I../grub-core/lib/libgcrypt-grub/src/ -DASM_FILE=1 -O2
-Wno-unused-value -I/mnt/data/pkg/netbsd-9/include -I/usr/include
-I/mnt/data/pkg/netbsd-9/include/python3.8 -I/usr/X11R7/include/freetype2 -MT
lib/i386/relocator_module-relocator64.o -MD -MP -MF
lib/i386/.deps-core/relocator_module-relocator64.Tpo -c -o
lib/i386/relocator_module-relocator64.o `test -f 'lib/i386/relocator64.S' ||
echo './'`lib/i386/relocator64.S
lib/i386/relocator64.S: Assembler messages:
lib/i386/relocator64.S:66: Error: unknown pseudo-op: `.code64'
lib/i386/relocator64.S:74: Error: bad register name `%rax'
lib/i386/relocator64.S:98: Error: bad register name `%rax'
lib/i386/relocator64.S:132: Error: bad register name `%rip)'
gmake[3]: *** [Makefile:32165: lib/i386/relocator_module-relocator64.o] Error
1
gmake[3]: *** Waiting for unfinished jobs....
mv -f io/.deps-core/gzio_module-gzio.Tpo io/.deps-core/gzio_module-gzio.Po
gmake[3]: Leaving directory
'/mnt/data/pkgsrc/work/netbsd-9-unpriv/sysutils/grub2/work/grub-2.04/grub-core'
gmake[2]: *** [Makefile:26403: all] Error 2
gmake[2]: Leaving directory
'/mnt/data/pkgsrc/work/netbsd-9-unpriv/sysutils/grub2/work/grub-2.04/grub-core'
gmake[1]: *** [Makefile:11304: all-recursive] Error 1
gmake[1]: Leaving directory
'/mnt/data/pkgsrc/work/netbsd-9-unpriv/sysutils/grub2/work/grub-2.04'
gmake: *** [Makefile:3343: all] Error 2
*** Error code 2
Stop.
bmake[1]: stopped in /mnt/data/pkgsrc/HEAD/sysutils/grub2
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/sysutils/grub2
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59127>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic