Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 166360 Details for
Bug 217324
sys-apps/memtest86 and sys-apps/memtest86+ both fail when built with gcc-4.2 but work with gcc-4.1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixed patch replacing -Os with -O1
memtest86+-2.01-hardcoded_cc.patch (text/plain), 1.18 KB, created by
Keith Harrison
on 2008-09-25 08:54:05 UTC
(
hide
)
Description:
Fixed patch replacing -Os with -O1
Filename:
MIME Type:
Creator:
Keith Harrison
Created:
2008-09-25 08:54:05 UTC
Size:
1.18 KB
patch
obsolete
>diff -Naurp memtest86+-2.01-orig/Makefile memtest86+-2.01/Makefile >--- memtest86+-2.01-orig/Makefile 2008-03-11 21:04:28.000000000 +0100 >+++ memtest86+-2.01/Makefile 2008-03-11 21:05:25.000000000 +0100 >@@ -8,10 +8,9 @@ > # > FDISK=/dev/fd0 > >-AS=as -32 >-CC=gcc >- >-CFLAGS=-Wall -march=i486 -m32 -Os -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC >+CPPFLAGS=-m32 >+CFLAGS=-Wall -m32 -march=i486 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector >+ASFLAGS=-32 > > OBJS= head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o \ > config.o linuxbios.o memsize.o pci.o controller.o random.o extra.o \ >@@ -47,10 +46,10 @@ memtest.bin: memtest_shared.bin bootsect > memtest_shared.bin -o memtest.bin > > reloc.o: reloc.c >- $(CC) -c $(CFLAGS) -fno-strict-aliasing reloc.c >+ $(CC) -c $(CFLAGS) -fno-strict-aliasing -fno-stack-protector reloc.c > > test.o: test.c >- $(CC) -c -Wall -march=i486 -m32 -Os -fomit-frame-pointer -fno-builtin -ffreestanding test.c >+ $(CC) -c -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fno-stack-protector -fno-pie -nopie test.c > > clean: > rm -f *.o *.s *.iso memtest.bin memtest memtest_shared memtest_shared.bin
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 217324
: 166360