[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #59127] grub-2.04 build failure on i386

From: Frédéric Fauberteau
Subject: [bug #59127] grub-2.04 build failure on i386
Date: Fri, 18 Sep 2020 02:45:15 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0


                 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: other
         Discussion Lock: Any
         Reproducibility: Every Time
         Planned Release: None



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:

-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
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
gmake[2]: *** [Makefile:26403: all] Error 2
gmake[2]: Leaving directory
gmake[1]: *** [Makefile:11304: all-recursive] Error 1
gmake[1]: Leaving directory
gmake: *** [Makefile:3343: all] Error 2
*** Error code 2

bmake[1]: stopped in /mnt/data/pkgsrc/HEAD/sysutils/grub2
*** Error code 1

bmake: stopped in /usr/pkgsrc/sysutils/grub2


Reply to this item at:


  Message posté via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]