I try to rebuild the current git version of gnu-efi (commit 644898eabc06c8efaa3aa54f84cdd468960a2f6c) and I get:
/usr/bin/gcc -I/home/lroussea/Documents/UEFI/gnu-efi-code/gnu-efi-3.0/lib -I/home/lroussea/Documents/UEFI/gnu-efi-code/gnu-efi-3.0/lib/../inc -I/home/lroussea/Documents/UEFI/gnu-efi-code/gnu-efi-3.0/lib/../inc/x86_64 -I/home/lroussea/Documents/UEFI/gnu-efi-code/gnu-efi-3.0/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -mno-red-zone -mno-mmx -mno-sse -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -DCONFIG_x86_64 -c print.c -o print.o
print.c: In function ‘DbgPrint’:
print.c:277:1: error: unrecognizable insn:
}
^
(insn 44 43 45 5 (set (plus:DI (reg:DI 94)
(const_int 24 [0x18]))
(reg:DI 95)) print.c:226 -1
(nil))
print.c:277:1: internal compiler error: in extract_insn, at recog.c:2154
Please submit a full bug report,
with preprocessed source if appropriate.
See <file: usr="" share="" doc="" gcc-4.8="" README.Bugs=""> for instructions.
Preprocessed source stored into /tmp/ccPYQyyn.out file, please attach this to your bugreport.
/home/lroussea/Documents/UEFI/gnu-efi-code/gnu-efi-3.0/lib/../Make.rules:45: recipe for target 'print.o' failed
make[1]: [print.o] Error 1
rm hand.o data.o ParseCmdLine.o init.o debug.o misc.o console.o error.o crc.o smbios.o hw.o guid.o boxdraw.o event.o dpath.o lock.o
make[1]: Leaving directory '/home/lroussea/Documents/UEFI/gnu-efi-code/gnu-efi-3.0/lib'
Makefile:76: recipe for target 'lib' failed
make: [lib] Error 2
I have the same problem using gcc 4.7 and gcc 4.8. It is really a GCC internal compiler error or a problem with gnu-efi?
it's a new problem introduced in the last commit (644898eabc06c8efaa3aa54f84cdd468960a2f6c)
The current git tree compiles, no errors on CentOS 6.5 - gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC).
But I see the failure on Fedora 20 - gcc version 4.8.2 20131212 (Red Hat 4.8.2-7) (GCC)
From: Ludovic Rousseau [mailto:ludov@users.sf.net]
Sent: Friday, May 16, 2014 5:34 AM
To: Ticket 7
Subject: [gnu-efi:bugs] #7 print.c:277:1: error: unrecognizable insn:
[bugs:#7]http://sourceforge.net/p/gnu-efi/bugs/7/ print.c:277:1: error: unrecognizable insn:
Status: open
Group: v1.0_(example)
Created: Fri May 16, 2014 09:33 AM UTC by Ludovic Rousseau
Last Updated: Fri May 16, 2014 09:33 AM UTC
Owner: nobody
I try to rebuild the current git version of gnu-efi (commit 644898eabc06c8efaa3aa54f84cdd468960a2f6c) and I get:
/usr/bin/gcc -I/home/lroussea/Documents/UEFI/gnu-efi-code/gnu-efi-3.0/lib -I/home/lroussea/Documents/UEFI/gnu-efi-code/gnu-efi-3.0/lib/../inc -I/home/lroussea/Documents/UEFI/gnu-efi-code/gnu-efi-3.0/lib/../inc/x86_64 -I/home/lroussea/Documents/UEFI/gnu-efi-code/gnu-efi-3.0/lib/../inc/protocol -mno-red-zone -mno-mmx -mno-sse -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -mno-red-zone -mno-mmx -mno-sse -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 -DCONFIG_x86_64 -c print.c -o print.o
print.c: In function ‘DbgPrint’:
print.c:277:1: error: unrecognizable insn:
}
^
(insn 44 43 45 5 (set (plus:DI (reg:DI 94)
(const_int 24 [0x18]))
(reg:DI 95)) print.c:226 -1
(nil))
print.c:277:1: internal compiler error: in extract_insn, at recog.c:2154
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
Preprocessed source stored into /tmp/ccPYQyyn.out file, please attach this to your bugreport.
/home/lroussea/Documents/UEFI/gnu-efi-code/gnu-efi-3.0/lib/../Make.rules:45: recipe for target 'print.o' failed
make[1]: [print.o] Error 1
rm hand.o data.o ParseCmdLine.o init.o debug.o misc.o console.o error.o crc.o smbios.o hw.o guid.o boxdraw.o event.o dpath.o lock.o
make[1]: Leaving directory '/home/lroussea/Documents/UEFI/gnu-efi-code/gnu-efi-3.0/lib'
Makefile:76: recipe for target 'lib' failed
make: [lib] Error 2
I have the same problem using gcc 4.7 and gcc 4.8. It is really a GCC internal compiler error or a problem with gnu-efi?
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/gnu-efi/bugs/7/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Related
Bugs:
#7I have reverted this last patch.