[Bug libstdc++/106908] libsupc++ wrong declaration of __unexpected_handler

2022-09-12 Thread ralphengels at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106908

--- Comment #2 from ralphengels at gmail dot com  
---
ah my bad then i just thought it looked suspicious especially since i been
having problems building gnat. For some reason it tries to link to the static
libgcc library and aborts due to an exception. So i had to change the
GCC_LINKER_FLAGS to force -shared-libgcc. so when i spotted this i assumed a
typo might have occured breaking the exception handlers.

[Bug libstdc++/106908] New: libsupc++ wrong declaration of __unexpected_handler

2022-09-12 Thread ralphengels at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106908

Bug ID: 106908
   Summary: libsupc++ wrong declaration of __unexpected_handler
   Product: gcc
   Version: 12.2.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: libstdc++
  Assignee: unassigned at gcc dot gnu.org
  Reporter: ralphengels at gmail dot com
  Target Milestone: ---

the declaration of __unexpected_handler in unwind-cxx.h is wrongly declared as 
extern std::terminate_handler __unexpected_handler;
should be
extern std::unexpected_handler __unexpected_handler;

[Bug ada/100486] Ada build fails for 32bit Windows

2021-07-05 Thread ralphengels at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100486

ralphengels at gmail dot com  changed:

   What|Removed |Added

 CC||ralphengels at gmail dot com

--- Comment #13 from ralphengels at gmail dot com  ---
sadly the successfull build of gcc-11 with dwarf exceptions cannot bootstrap
gcc-11 as well, though it now fails even in stage 1 the error is different and
seems to be equal to one encountered several years back with gcc-4.1.0 ->

TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h config/i386/xm-mingw32.h"
DEFINES="USED_FOR_TARGET " \
/bin/sh ../../gcc-11.1.0/gcc/mkconfig.sh tconfig.h
gnatmake: "xsinfo.adb" compilation error
echo "   S0 : constant String := \"/mingw32/\";" >>tmp-sdefault.adb
cat ../../gcc-11.1.0/gcc/config/i386/gmm_malloc.h > mm_malloc.h
/bin/sh: line 1: ./xsinfo: No such file or directory
(echo "@set version-GCC 11.1.0"; \
 if [ "" = "experimental" ]; \
 then echo "@set DEVELOPMENT"; \
 else echo "@clear DEVELOPMENT"; \
 fi) > gcc-vers.texiT
make[3]: *** [../../gcc-11.1.0/gcc/ada/Make-generated.in:45: ada/sinfo.h] Error
127
make[3]: *** Waiting for unfinished jobs

[Bug target/83562] broken destructors of thread_local objects on i686 mingw targets

2020-10-02 Thread ralphengels at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83562

ralphengels at gmail dot com  changed:

   What|Removed |Added

 CC||ralphengels at gmail dot com

--- Comment #4 from ralphengels at gmail dot com  
---
This still is not working causing several boost libraries to fail building when
using mingw-w64 compilers (gcc-9.3 and gcc-10.2).

Everything works fine with the 64 bit compiler but the i686 compiler reports
broken TLS. While we can get around it by disabling the TLS check for
libbost_fiber-mt.dll libboost_stacktrace_windbg_cached-mt.dll is another story
(halts the build if we skip the TLS check).