This is the mail archive of the gcc@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: cross-compilation documentation


On Sun, 2003-06-22 13:21:51 -0400, Andrew Pinski <pinskia@physics.uc.edu>
wrote in message <02F74B2F-A4D6-11D7-AD8C-000393A6D2F2@physics.uc.edu>:
> On Sunday, Jun 22, 2003, at 13:09 US/Eastern, Peter Barada wrote:
> 
> 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 linux.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 structs.  */
./alpha/linux.h-
./alpha/linux.h-#ifdef IN_LIBGCC2
./alpha/linux.h:#include <signal.h>
./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 configure-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 <signal.h>
./ia64/linux.h-
./ia64/linux.h-/* Do code reading to identify a signal frame, and set the frame
./ia64/linux.h-   state data appropriately.  See unwind-dw2.c for the structs.  */
./ia64/linux.h-
./ia64/linux.h-#ifdef IN_LIBGCC2
./ia64/linux.h:#include <signal.h>
./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 structs.  */
./rs6000/linux.h-
./rs6000/linux.h-#ifdef IN_LIBGCC2
./rs6000/linux.h:#include <signal.h>
./sh/linux.h-
./sh/linux.h-/* Do code reading to identify a signal frame, and set the frame
./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 <signal.h>
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

-- 
   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ürger" | im Internet! |   im Irak!
      ret = do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA));

Attachment: pgp00000.pgp
Description: PGP signature


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