https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126277

--- Comment #4 from Peeter Joot <peeterjoot at protonmail dot com> ---
link error is verified fixed on trunk:

ubuntu:/home/peeterjoot/nist/gcobol-bugs/126277>
/opt/gcc-trunk-20260717/bin/gcobol debug-register-data-symbol.cob
-Wl,-rpath,/opt/gcc-trunk-20260717/lib64
ubuntu:/home/peeterjoot/nist/gcobol-bugs/126277> ./a.out

ubuntu:/home/peeterjoot/nist/gcobol-bugs/126277> 

Those NIST programs all now compile and link too (haven't tried running them):

ubuntu:/home/peeterjoot/nist> make `cat u`
/opt/gcc-trunk-20260717/bin/gcobol -ffixed-form -I copy  DB/DB101A.CBL
-Wl,-rpath,/opt/gcc-trunk-20260717/lib64:'$ORIGIN' -o out/DB/DB101A
/opt/gcc-trunk-20260717/bin/gcobol -ffixed-form -I copy  DB/DB102A.CBL
-Wl,-rpath,/opt/gcc-trunk-20260717/lib64:'$ORIGIN' -o out/DB/DB102A
/opt/gcc-trunk-20260717/bin/gcobol -ffixed-form -I copy  DB/DB103M.CBL
-Wl,-rpath,/opt/gcc-trunk-20260717/lib64:'$ORIGIN' -o out/DB/DB103M
/opt/gcc-trunk-20260717/bin/gcobol -ffixed-form -I copy  DB/DB204A.CBL
-Wl,-rpath,/opt/gcc-trunk-20260717/lib64:'$ORIGIN' -o out/DB/DB204A

Reply via email to