Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Nov 2007 23:29:24 -0000 (UTC)
From:      =?iso-8859-1?Q?Bj=F6rn_K=F6nig?= <bkoenig@alpha-tierchen.de>
To:        "FreeBSD Tinderbox" <tinderbox@freebsd.org>
Cc:        arm@freebsd.org, current@freebsd.org
Subject:   Re: [head tinderbox] failure on arm/arm
Message-ID:  <63059.192.168.1.2.1194650964.squirrel@webmail.alpha-tierchen.de>

next in thread | raw e-mail | index | archive | help
------=_20071109232924_87843
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

FreeBSD Tinderbox wrote:
> [...]
> cc -O2 -pipe  -DINET6  -c /src/usr.bin/systat/netcmds.c
> /src/usr.bin/systat/netcmds.c: In function 'netcmd':
> /src/usr.bin/systat/netcmds.c:127: internal compiler error: internal
> consistency failure
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html>; for instructions.
> *** Error code 1
>
> Stop in /src/usr.bin/systat.
> *** Error code 1
> [...]

I noticed that the problem doesn't occur with latest snapshots of gcc 4.3,
so I took some time and tracked down the responsible commit in the gcc
source tree. I attached a patch. Please test it.

Regards
Björn

------=_20071109232924_87843
Content-Type: application/octet-stream; name="src-contrib-gcc-patch.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="src-contrib-gcc-patch.diff"

LS0tIHNyYy9jb250cmliL2djYy90cmVlLWZsb3cuaC5vcmlnCTIwMDctMDUtMTkgMDE6MTE6NDku
MDAwMDAwMDAwICswMDAwCisrKyBzcmMvY29udHJpYi9nY2MvdHJlZS1mbG93LmgJMjAwNy0xMS0w
OSAyMzoxOTo0NC4wMDAwMDAwMDAgKzAwMDAKQEAgLTcxMyw2ICs3MTMsNyBAQAogdm9pZCByZWdp
c3Rlcl9uZXdfbmFtZV9tYXBwaW5nICh0cmVlLCB0cmVlKTsKIHRyZWUgY3JlYXRlX25ld19kZWZf
Zm9yICh0cmVlLCB0cmVlLCBkZW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orKysgc3JjL2NvbnRyaWIvZ2NjL3RyZWUtY2ZnLmMJMjAwNy0xMS0wOSAyMzox
OToyOC4wMDAwMDAwMDAgKzAwMDAKQEAgLTEyMTQsNyArMTIxNCw3IEBACiAgIHBoaSA9IHBoaV9u
b2RlcyAoYik7CiAgIGlmIChwaGkpCiAgICAgewotICAgICAgaWYgKG5lZWRfc3NhX3VwZGF0ZV9w
ICgpKQorICAgICAgaWYgKG5hbWVfbWFwcGluZ3NfcmVnaXN0ZXJlZF9wICgpKQogCXJldHVybiBm
YWxzZTsKIAogICAgICAgZm9yICg7IHBoaTsgcGhpID0gUEhJX0NIQUlOIChwaGkpKQo=
------=_20071109232924_87843--





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?63059.192.168.1.2.1194650964.squirrel>