Re: Add libcody

2020-12-22 Thread Sebastian Huber
On 21/12/2020 20:47, Nathan Sidwell wrote: On 12/21/20 1:23 PM, Sebastian Huber wrote: Hello Nathan, ../../gnu-mirror-gcc-cf22f78/gcc/../libcody/cody.hh:24: In file included from /usr/include/c++/v1/memory:654: /usr/include/c++/v1/typeinfo:231:5: error: no member named 'fancy_abort' in nam

Re: Add libcody

2020-12-21 Thread Nathan Sidwell
On 12/21/20 1:23 PM, Sebastian Huber wrote: Hello Nathan, ../../gnu-mirror-gcc-cf22f78/gcc/../libcody/cody.hh:24: In file included from /usr/include/c++/v1/memory:654: /usr/include/c++/v1/typeinfo:231:5: error: no member named 'fancy_abort' in namespace 'std::__1'; did you mean simply 'fancy

Re: Add libcody

2020-12-21 Thread Sebastian Huber
Hello Nathan, there is network related build errors are now fixed on FreeBSD 12. However, I got another build error: /usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/7/rtems-aarch64/usr/local/rtems/6/include -fno-PIE -c  -DIN_GCC_FRONT

RE: Add libcody

2020-12-21 Thread Hao Liu OS via Gcc-patches
Hi Nathan, This patch causes a build failure on CentOS. More information: https://gcc.gnu.org/bugzilla//show_bug.cgi?id=98318#c3 Thanks, -Hao > -Original Message- > From: Gcc-patches On Behalf Of Nathan > Sidwell > Sent: Tuesday, December 15, 2020 11:46 PM > To: GCC Patches > Subject

Re: Add libcody

2020-12-17 Thread H.J. Lu via Gcc-patches
On Thu, Dec 17, 2020 at 5:36 AM Jakub Jelinek via Gcc-patches wrote: > > On Thu, Dec 17, 2020 at 08:25:12AM -0500, Nathan Sidwell wrote: > > > Yeah. If it is meant as an optimization barrier, shouldn't it be just > > >__asm__ volatile (""); > > > or > > >__asm__ volatile ("" : : : "memory

Re: Add libcody

2020-12-17 Thread Jakub Jelinek via Gcc-patches
On Thu, Dec 17, 2020 at 08:25:12AM -0500, Nathan Sidwell wrote: > > Yeah. If it is meant as an optimization barrier, shouldn't it be just > >__asm__ volatile (""); > > or > >__asm__ volatile ("" : : : "memory"); > > ? That said, shouldn't that be guarded on the compiler being GCC > > (or

Re: Add libcody

2020-12-17 Thread Nathan Sidwell
On 12/17/20 8:25 AM, Nathan Sidwell wrote: On 12/17/20 5:07 AM, Jakub Jelinek wrote: On Thu, Dec 17, 2020 at 11:01:40AM +0100, Andreas Schwab wrote: /tmp/ccabCPZ7.s: Assembler messages: /tmp/ccabCPZ7.s:28: Error: Wrong number of input operands Yeah.  If it is meant as an optimization barrie

Re: Add libcody

2020-12-17 Thread Nathan Sidwell
On 12/17/20 5:07 AM, Jakub Jelinek wrote: On Thu, Dec 17, 2020 at 11:01:40AM +0100, Andreas Schwab wrote: On Dez 15 2020, Nathan Sidwell wrote: diff --git c/libcody/fatal.cc w/libcody/fatal.cc new file mode 100644 index 000..b35094e6b19 --- /dev/null +++ w/libcody/fatal.cc @@ -0,0 +1,7

Re: Add libcody

2020-12-17 Thread Jakub Jelinek via Gcc-patches
On Thu, Dec 17, 2020 at 11:01:40AM +0100, Andreas Schwab wrote: > On Dez 15 2020, Nathan Sidwell wrote: > > > diff --git c/libcody/fatal.cc w/libcody/fatal.cc > > new file mode 100644 > > index 000..b35094e6b19 > > --- /dev/null > > +++ w/libcody/fatal.cc > > @@ -0,0 +1,78 @@ > > +// CODYl

Re: Add libcody

2020-12-17 Thread Andreas Schwab
On Dez 15 2020, Nathan Sidwell wrote: > diff --git c/libcody/fatal.cc w/libcody/fatal.cc > new file mode 100644 > index 000..b35094e6b19 > --- /dev/null > +++ w/libcody/fatal.cc > @@ -0,0 +1,78 @@ > +// CODYlib -*- mode:c++ -*- > +// Copyright (C) 2019-2020 Nathan Sidwell, nat...