From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5297 invoked by alias); 22 Jun 2003 17:43:03 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 28317 invoked from network); 22 Jun 2003 17:38:27 -0000 Received: from unknown (HELO dvmwest.gt.owl.de) (62.52.24.140) by sources.redhat.com with SMTP; 22 Jun 2003 17:38:27 -0000 Received: by dvmwest.gt.owl.de (Postfix, from userid 1001) id 4BDA04ABBC; Sun, 22 Jun 2003 19:38:27 +0200 (CEST) Date: Sun, 22 Jun 2003 17:56:00 -0000 From: Jan-Benedict Glaw To: gcc@gcc.gnu.org Subject: Re: cross-compilation documentation Message-ID: <20030622173827.GN6353@lug-owl.de> References: <20030622170936.2846398E00@baradas.org> <02F74B2F-A4D6-11D7-AD8C-000393A6D2F2@physics.uc.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Zz8eIV9MTSc31S3o" Content-Disposition: inline In-Reply-To: <02F74B2F-A4D6-11D7-AD8C-000393A6D2F2@physics.uc.edu> User-Agent: Mutt/1.4i X-Operating-System: Linux mail 2.4.18 X-gpg-fingerprint: 250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB X-gpg-key: wwwkeys.de.pgp.net X-SW-Source: 2003-06/txt/msg01880.txt.bz2 --Zz8eIV9MTSc31S3o Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2516 On Sun, 2003-06-22 13:21:51 -0400, Andrew Pinski wrote in message <02F74B2F-A4D6-11D7-AD8C-000393A6D2F2@physics.uc.edu>: > On Sunday, Jun 22, 2003, at 13:09 US/Eastern, Peter Barada wrote: >=20 > That is a bug in the config of rs6000 of gcc which should be fixed, > I have a patch for it and there is no need for --without-libgcc: [...] grepping a bit, I think this is not only a problem of pcc-linux: jbglaw@b132l-1:~/toolchain-sources/gcc/gcc/config$ find . -type f -name lin= ux.h -exec grep -Hi -B 5 signal.h {} \; ./alpha/linux.h- ./alpha/linux.h-/* Do code reading to identify a signal frame, and set the = frame ./alpha/linux.h- state data appropriately. See unwind-dw2.c for the stru= cts. */ ./alpha/linux.h- ./alpha/linux.h-#ifdef IN_LIBGCC2 ./alpha/linux.h:#include ./i386/linux.h-/* There's no sys/ucontext.h for some (all?) libc1, so no ./i386/linux.h- signal-turned-exceptions for them. There's also no confi= gure-run for ./i386/linux.h- the target, so we can't check on (e.g.) HAVE_SYS_UCONTEXT= _H. Using the ./i386/linux.h- target libc1 macro should be enough. */ ./i386/linux.h-#ifndef USE_GNULIBC_1 ./i386/linux.h:#include ./ia64/linux.h- ./ia64/linux.h-/* Do code reading to identify a signal frame, and set the f= rame ./ia64/linux.h- state data appropriately. See unwind-dw2.c for the struc= ts. */ ./ia64/linux.h- ./ia64/linux.h-#ifdef IN_LIBGCC2 ./ia64/linux.h:#include ./rs6000/linux.h- ./rs6000/linux.h-/* Do code reading to identify a signal frame, and set the= frame ./rs6000/linux.h- state data appropriately. See unwind-dw2.c for the str= ucts. */ ./rs6000/linux.h- ./rs6000/linux.h-#ifdef IN_LIBGCC2 ./rs6000/linux.h:#include ./sh/linux.h- ./sh/linux.h-/* Do code reading to identify a signal frame, and set the fra= me ./sh/linux.h- state data appropriately. See unwind-dw2.c for the structs= . */ ./sh/linux.h- ./sh/linux.h-#ifdef IN_LIBGCC2 ./sh/linux.h:#include jbglaw@b132l-1:~/toolchain-sources/gcc/gcc/config$ Iff the fix correctly fixes this behavior, it would be nice if you could please also fix the other architectures gcc has Linux support for. MfG, JBG --=20 Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg fuer einen Freien Staat voll Freier B=FCrger" | im Internet! | im Ira= k! ret =3D do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA)); --Zz8eIV9MTSc31S3o Content-Type: application/pgp-signature Content-Disposition: inline Content-length: 189 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+9emSHb1edYOZ4bsRAg64AJwIdhn/Ym4IfRSGOwkZFihc1dXRtQCfVogf FOJU2cOJVjqO+URhR3swmxo= =4u2X -----END PGP SIGNATURE----- --Zz8eIV9MTSc31S3o--