This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] fix build of gcc 4.4 on GNU/kFreeBSD i386 and x86_64


Any news on that?

On Wed, Mar 25, 2009 at 12:00:05AM +0100, Aurelien Jarno wrote:
> Hi,
> 
> Revision 137369 has moved code from a GNU/Linux and GNU/kFreeBSD case to
> a GNU/Linux only case. This breaks the build of gcc on GNU/kFreeBSD i386
> and x86_64. The patch below fixes the problem by adding the missing 
> parts. Given it's a regression from gcc 4.3, I think it should be 
> applied to both trunk and gcc 4.4 branch.
> 
> Regards,
> Aurelien
> 
> 
> gcc/
> 
> 2009-03-24  Aurelien Jarno  <aurelien@aurel32.net>
> 
> 	* config.gcc: Add soft-fp/t-softfp and i386/t-linux to tmake_file
> 	for i[34567]86-*-kfreebsd*-gnu*, x86_64-*-kfreebsd*-gnu*.
> 
> libgcc/
> 
> 2009-03-24  Aurelien Jarno  <aurelien@aurel32.net>
> 
> 	* config.host: Add i386/${host_address}/t-fprules-softfp to
> 	tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
> 
> 
> Index: libgcc/config.host
> ===================================================================
> --- libgcc/config.host	(revision 145035)
> +++ libgcc/config.host	(working copy)
> @@ -591,6 +591,7 @@
>  
>  case ${host} in
>  i[34567]86-*-darwin* | x86_64-*-darwin* | \
> +  i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \
>    i[34567]86-*-linux* | x86_64-*-linux*)
>  	if test "${host_address}" = 32; then
>  		tmake_file="${tmake_file} t-softfp i386/${host_address}/t-fprules-softfp"
> Index: gcc/config.gcc
> ===================================================================
> --- gcc/config.gcc	(revision 145000)
> +++ gcc/config.gcc	(working copy)
> @@ -3055,7 +3055,7 @@
>  	i[34567]86-*-darwin* | x86_64-*-darwin*)
>  		tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp"
>  		;;
> -	i[34567]86-*-linux* | x86_64-*-linux*)
> +	i[34567]86-*-linux* | x86_64-*-linux* | i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu)
>  		tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp i386/t-linux"
>  		;;
>  	ia64*-*-linux*)
> 
> -- 
> Aurelien Jarno	                        GPG: 1024D/F1BCDB73
> aurelien@aurel32.net                 http://www.aurel32.net

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]