[Bug ada/108472] gcc/ada/b_gnat1.adb:363: undefined reference to `system__assertions___elabs'

2023-01-21 Thread dclarke at blastwave dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108472 Dennis Clarke changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug ada/108472] gcc/ada/b_gnat1.adb:363: undefined reference to `system__assertions___elabs'

2023-01-19 Thread dclarke at blastwave dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108472 --- Comment #5 from Dennis Clarke --- (In reply to Andreas Schwab from comment #3) > You are mixing two different ada compilers: > > /opt/imed/gcc12/bin/gcc -c -g -gnatpg -gnatwns -W -Wall -I- -I. > -Iada/generated -Iada -I../../gcc-12.2.0/gc

[Bug ada/108472] gcc/ada/b_gnat1.adb:363: undefined reference to `system__assertions___elabs'

2023-01-19 Thread dclarke at blastwave dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108472 --- Comment #4 from Dennis Clarke --- (In reply to Andrew Pinski from comment #2) > >warning: "s-stalib.adb" and "gnat1drv.adb" compiled with different GNAT > >versions > > Is the first thing you should look into. > > Since you are setting th

[Bug ada/108472] gcc/ada/b_gnat1.adb:363: undefined reference to `system__assertions___elabs'

2023-01-19 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108472 --- Comment #3 from Andreas Schwab --- You are mixing two different ada compilers: /opt/imed/gcc12/bin/gcc -c -g -gnatpg -gnatwns -W -Wall -I- -I. -Iada/generated -Iada -I../../gcc-12.2.0/gcc/ada ../../gcc-12.2.0/gcc/ada/gnat1drv.adb -o ada/g

[Bug ada/108472] gcc/ada/b_gnat1.adb:363: undefined reference to `system__assertions___elabs'

2023-01-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108472 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug ada/108472] gcc/ada/b_gnat1.adb:363: undefined reference to `system__assertions___elabs'

2023-01-19 Thread dclarke at blastwave dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108472 --- Comment #1 from Dennis Clarke --- Tried again with the system binutils and I see the same error : /bin/ld: ada/b_gnat1.o: in function `adainit': /opt/bw/build/gcc-12.2.0_linux_amd64.004/gcc/ada/b_gnat1.adb:363: undefined reference to `sy