Uros,

That is intentional. The gthr-rdos.h file is part of libgcc. My intention was to first patch gcc, then update the patches for newlib, and finally libgcc. The gthr-rdos.h file would reference include-files part of newlib, so this is kind of circular. I also cannot define the thread model for RDOS unless I define this file.

I see a couple of possible solutions:
1. Keep as is. You cannot build libgcc at the current stage anyway, and the bootstrap must be built without threading
2. Add an empty gthr-rdos.h file until libgcc is done
3. Remove the threading-model for now, and add it with libgcc instead.

Regards,
Leif Ekblad



----- Original Message ----- From: "Uros Bizjak" <ubiz...@gmail.com>
To: "Leif Ekblad" <l...@rdos.net>
Cc: "Richard Biener" <rguent...@suse.de>; <gcc-patches@gcc.gnu.org>; "H.J. Lu" <hjl.to...@gmail.com>; "Jakub Jelinek" <ja...@redhat.com>
Sent: Monday, January 28, 2013 8:23 AM
Subject: Re: [PATCH] Adding target rdos to GCC


On Mon, Jan 28, 2013 at 7:50 AM, Leif Ekblad <l...@rdos.net> wrote:

If the patch is ok, could some maintainer add it to trunk?

There is no gthr-rdos.h file in your patch:

*** gcc-4.8-20121230/config/gthr.m4 2012-10-15 15:10:30.000000000 +0200
--- gcc-work/config/gthr.m4 2013-01-07 10:14:04.620667900 +0100
***************
*** 21,26 ****
--- 21,27 ----
     tpf) thread_header=config/s390/gthr-tpf.h ;;
     vxworks) thread_header=config/gthr-vxworks.h ;;
     win32) thread_header=config/i386/gthr-win32.h ;;
+     rdos) thread_header=config/i386/gthr-rdos.h ;;

This file should be part of libgcc, so it needs its own ChangeLog.

Uros.

Reply via email to