svn commit: r293654 - stable/10/sys/boot/efi

2016-01-10 Thread Ed Maste
Author: emaste
Date: Mon Jan 11 04:25:03 2016
New Revision: 293654
URL: https://svnweb.freebsd.org/changeset/base/293654

Log:
  Move -msoft-float compiler flag into x86/i386 cases to fix ia64
  
  Direct commit to stable/10 as ia64 support does not exist in HEAD.

Modified:
  stable/10/sys/boot/efi/Makefile.inc

Modified: stable/10/sys/boot/efi/Makefile.inc
==
--- stable/10/sys/boot/efi/Makefile.inc Mon Jan 11 03:30:16 2016
(r293653)
+++ stable/10/sys/boot/efi/Makefile.inc Mon Jan 11 04:25:03 2016
(r293654)
@@ -4,17 +4,19 @@ BINDIR?=  /boot
 
 .if ${MACHINE_CPUARCH} == "i386"
 CFLAGS+=-march=i386
+CFLAGS+=   -msoft-float
 .endif
 
 # Options used when building app-specific efi components
 # See conf/kern.mk for the correct set of these
-CFLAGS+=   -ffreestanding -Wformat -msoft-float
+CFLAGS+=   -ffreestanding -Wformat
 LDFLAGS+=  -nostdlib
 
 .if ${MACHINE_CPUARCH} == "amd64"
 CFLAGS+=   -fshort-wchar
 CFLAGS+=   -mno-red-zone
 CFLAGS+=   -mno-mmx -mno-sse -mno-aes -mno-avx
+CFLAGS+=   -msoft-float
 .endif
 
 
___
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"


Re: svn commit: r293654 - stable/10/sys/boot/efi

2016-01-10 Thread NGie Cooper

> On Jan 10, 2016, at 20:25, Ed Maste  wrote:
> 
> Author: emaste
> Date: Mon Jan 11 04:25:03 2016
> New Revision: 293654
> URL: https://svnweb.freebsd.org/changeset/base/293654
> 
> Log:
>  Move -msoft-float compiler flag into x86/i386 cases to fix ia64
> 
>  Direct commit to stable/10 as ia64 support does not exist in HEAD.
> 
> Modified:
>  stable/10/sys/boot/efi/Makefile.inc
> 
> Modified: stable/10/sys/boot/efi/Makefile.inc
> ==
> --- stable/10/sys/boot/efi/Makefile.inc   Mon Jan 11 03:30:16 2016
> (r293653)
> +++ stable/10/sys/boot/efi/Makefile.inc   Mon Jan 11 04:25:03 2016
> (r293654)
> @@ -4,17 +4,19 @@ BINDIR?=/boot
> 
> .if ${MACHINE_CPUARCH} == "i386"
> CFLAGS+=-march=i386
> +CFLAGS+= -msoft-float
> .endif
> 
> # Options used when building app-specific efi components
> # See conf/kern.mk for the correct set of these
> -CFLAGS+= -ffreestanding -Wformat -msoft-float
> +CFLAGS+= -ffreestanding -Wformat
> LDFLAGS+= -nostdlib
> 
> .if ${MACHINE_CPUARCH} == "amd64"
> CFLAGS+=  -fshort-wchar
> CFLAGS+=  -mno-red-zone
> CFLAGS+=  -mno-mmx -mno-sse -mno-aes -mno-avx
> +CFLAGS+= -msoft-float
> .endif

This unfortunately doesn’t fix gcc :(...
___
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Re: svn commit: r293654 - stable/10/sys/boot/efi

2016-01-11 Thread Ed Maste
On 11 January 2016 at 06:26, NGie Cooper  wrote:
>
>> On Jan 10, 2016, at 20:25, Ed Maste  wrote:
>>
>> Author: emaste
>> Date: Mon Jan 11 04:25:03 2016
>> New Revision: 293654
>> URL: https://svnweb.freebsd.org/changeset/base/293654
>
> This unfortunately doesn’t fix gcc :(...

Thanks for the report - I believe it should now be fixed by r293660.
___
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"