diff mbox

Fix libgcc for FreeBSD 10

Message ID alpine.LNX.2.00.1111131613490.3570@gerinyyl.fvgr
State New
Headers show

Commit Message

Gerald Pfeifer Nov. 13, 2011, 3:18 p.m. UTC
The snippet below was written when a new major release of FreeBSD
would happen every couple of years, not as frequently as recently
the case.  FreeBSD 1.x and 2.x, and a.out support, have been obsolete
for what must be a decade or so, yet the regular expressions now
match, and cause troubles for, FreeBSD 10.x.

I am planing to apply the patch below as obvious.  If we want to
be more conservative, I could just yank the -*-*-freebsd[12] pattern.

Rainer, Loren, any thoughts?

Gerald


2011-11-13  Gerald Pfeifer  <gerald@pfeifer.com>

	* config.host (*-*-freebsd[12], *-*-freebsd[12].*, *-*-freebsd*aout*):
	Remove.

Comments

Paolo Bonzini Nov. 14, 2011, 9:02 a.m. UTC | #1
On 11/13/2011 04:18 PM, Gerald Pfeifer wrote:
> The snippet below was written when a new major release of FreeBSD
> would happen every couple of years, not as frequently as recently
> the case.  FreeBSD 1.x and 2.x, and a.out support, have been obsolete
> for what must be a decade or so, yet the regular expressions now
> match, and cause troubles for, FreeBSD 10.x.
>
> I am planing to apply the patch below as obvious.  If we want to
> be more conservative, I could just yank the -*-*-freebsd[12] pattern.
>
> Rainer, Loren, any thoughts?

Ok from me.

Paolo
Rainer Orth Nov. 18, 2011, 4:40 p.m. UTC | #2
Gerald Pfeifer <gerald@pfeifer.com> writes:

> The snippet below was written when a new major release of FreeBSD
> would happen every couple of years, not as frequently as recently
> the case.  FreeBSD 1.x and 2.x, and a.out support, have been obsolete
> for what must be a decade or so, yet the regular expressions now
> match, and cause troubles for, FreeBSD 10.x.
>
> I am planing to apply the patch below as obvious.  If we want to
> be more conservative, I could just yank the -*-*-freebsd[12] pattern.
>
> Rainer, Loren, any thoughts?

Given that this is no longer present in gcc/config.gcc, but those a.out
configurations are rejected there wholesale, I think the patch is right.

	Rainer
diff mbox

Patch

Index: config.host
===================================================================
--- config.host	(revision 181325)
+++ config.host	(working copy)
@@ -172,15 +172,6 @@ 
   tmake_file="$tmake_file t-darwin ${cpu_type}/t-darwin t-libgcc-pic t-slibgcc-darwin"
   extra_parts=crt3.o
   ;;
-*-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*)
-  # This is the place-holder for the generic a.out configuration
-  # of FreeBSD.  No actual configuration resides here since
-  # there was only ever a bare-bones ix86 configuration for
-  # a.out and it exists solely in the machine-specific section.
-  # This place-holder must exist to avoid dropping into
-  # the generic ELF configuration of FreeBSD (i.e. it must be
-  # ordered before that section).
-  ;;
 *-*-freebsd*)
   # This is the generic ELF configuration of FreeBSD.  Later
   # machine-specific sections may refine and add to this