Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Aug 2002 13:51:44 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Wilko Bulte <wkb@freebie.xs4all.nl>
Cc:        "David O'Brien" <obrien@FreeBSD.org>, current@FreeBSD.org, alpha@FreeBSD.org
Subject:   Re: Alpha -STABLE snapshots are broken?
Message-ID:  <20020807105144.GA68121@sunbay.com>
In-Reply-To: <20020807091602.GA52251@sunbay.com>
References:  <20020731215030.A246@freebie.xs4all.nl> <20020801101432.GA94500@sunbay.com> <20020801124807.A11058@freebie.xs4all.nl> <20020801120738.GA26622@sunbay.com> <20020801195936.A12267@freebie.xs4all.nl> <20020802165525.GA80884@sunbay.com> <20020802205245.A16184@freebie.xs4all.nl> <20020805184000.GA53697@sunbay.com> <20020806161928.A9273@freebie.xs4all.nl> <20020807091602.GA52251@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--dDRMvlgZJXvWKvBx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Aug 07, 2002 at 12:16:02PM +0300, Ruslan Ermilov wrote:
[...]
> Wilko,
>=20
> I am unable to cross-build i386 on alpha due to this bug in gcc.
> Native compiler has no problem building the generated cgram.c,
> and I have verified that native and cross compilers produce the
> same cgram.c output.  Perhaps, David could shed some light on
> this, and even probably fix it:
>=20
> %%%
> --------------------------------------------------------------
> >>> stage 4: building everything..
> --------------------------------------------------------------
> cd /usr/src; MAKEOBJDIRPREFIX=3D/usr/obj/i386  MACHINE_ARCH=3Di386  MACHI=
NE=3Di386  CPUTYPE=3D  OBJFORMAT_PATH=3D/usr/obj/i386/usr/src/alpha/usr/lib=
exec  GROFF_BIN_PATH=3D/usr/obj/i386/usr/src/alpha/usr/bin  GROFF_FONT_PATH=
=3D/usr/obj/i386/usr/src/alpha/usr/share/groff_font  GROFF_TMAC_PATH=3D/usr=
/obj/i386/usr/src/alpha/usr/share/tmac  DESTDIR=3D/usr/obj/i386/usr/src/alp=
ha  INSTALL=3D"sh /usr/src/tools/install.sh"  PATH=3D/usr/obj/i386/usr/src/=
alpha/usr/sbin:/usr/obj/i386/usr/src/alpha/usr/bin:/usr/obj/i386/usr/src/al=
pha/usr/games:/sbin:/bin:/usr/sbin:/usr/bin make -f Makefile.inc1 all
> =3D=3D=3D> share/info
> [...]
> =3D=3D=3D> usr.bin/xlint/lint1
> cc -O -pipe -mcpu=3Dpentiumpro -I. -I/usr/src/usr.bin/xlint/lint1 -I/usr/=
src/usr.bin/xlint/lint1/../arch/i386 -I/usr/src/usr.bin/xlint/lint1/../comm=
on    -c cgram.c
> cc -O -pipe -mcpu=3Dpentiumpro -I. -I/usr/src/usr.bin/xlint/lint1 -I/usr/=
src/usr.bin/xlint/lint1/../arch/i386 -I/usr/src/usr.bin/xlint/lint1/../comm=
on    -c scan.c
> gzip -cn lint.7 > lint.7.gz
> groff -Tascii -mtty-char -man -t lint.7 | gzip -cn > lint.7.cat.gz
> /usr/src/usr.bin/xlint/lint1/cgram.y: In function `toicon':
> /usr/src/usr.bin/xlint/lint1/cgram.y:1711: unrecognizable insn:
> (insn 247 219 248 (set (reg:CC 17 flags)
>         (compare:CC (subreg:SI (reg/v:DI 75) 0)
>             (const_int 2147483648 [0x80000000]))) -1 (nil)
>     (expr_list:REG_DEAD (reg/v:DI 75)
>         (nil)))
> /usr/src/usr.bin/xlint/lint1/cgram.y:1711: Internal compiler error in ext=
ract_insn, at recog.c:2150
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.gnu.org/software/gcc/bugs.html>; for instructions.
> *** Error code 1
> 1 error
> %%%
>=20
> Meanwhile, I will temporary remove usr.bin/xlint from the build, and
> resume the i386 release building on ds10.
>=20
While attempting to cross-compile kernel, it bombs out with, attempting
to build `random' module like this:

=3D=3D=3D> random
cc -O -pipe -mcpu=3Dpentiumpro -I/usr/src/sys/modules/random/../..  -D_KERN=
EL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-=
prototypes -Wpointer-arith -Winline -Wcast-qual  -Wno-format -ansi -DKLD_MO=
DULE -nostdinc -I-  -I/usr/src/sys/modules/random/../.. -I. -I@ -I@/dev -I@=
/../include -fno-common -g -mpreferred-stack-boundary=3D2 -ffreestanding -W=
all -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-proto=
types -Wpointer-arith -Winline -Wcast-qual  -Wno-format -ansi -c /usr/src/s=
ys/crypto/sha2/sha2.c
{standard input}: Assembler messages:
{standard input}:97: Error: bignum invalid
{standard input}:98: Error: bignum invalid
{standard input}:101: Error: bignum invalid

Excluding it as well...  :(


Cheers,
--=20
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

--dDRMvlgZJXvWKvBx
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9UPvAUkv4P6juNwoRAiz0AJ9l+Q/cGb4dH+0fEOtL/5mZa4jzjACeLZMz
RMBViE3SiBB5ppr4oD4edOE=
=x2Zz
-----END PGP SIGNATURE-----

--dDRMvlgZJXvWKvBx--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




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