Expectations around COBOL platform support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

With the new COBOL support merged into the source of the upcoming GCC 15
release, I have a question around GCC's policy for supporting different
architectures. In short, is the COBOL support initally only targeting
x86 and ARM, or by the time GCC 15 releases should it support all
architectures that it builds for?

I built from the current git master branch on a ppc64le Linux box, with
--enable-languages=c,c++,cobol, and everything built successfully and
produced a gcobol binary. But when using gcobol, it fails with an ICE:

% gcobol -o hello hello.cob during RTL pass: final
In function 'main':
cobol1: internal compiler error: in rs6000_output_function_epilogue, at config/rs6000/rs6000-logue.cc:5364
0x7fff9aa24d2b __libc_start_call_main
        ../sysdeps/nptl/libc_start_call_main.h:58
0x7fff9aa24f6b generic_start_main
        ../csu/libc-start.c:360
0x7fff9aa24f6b __libc_start_main_impl
        ../sysdeps/unix/sysv/linux/powerpc/libc-start.c:109

I saw somewhere when I was looking at the commits that merged the COBOL
work in that it was only tested on x86 and ARM so far.

At this stage of development, is it helpful if I file bugs such as
the above on other architectures, or are we not at the point yet where I
should expect it to work on other architectures and should just be
patient before giving it a try and reporting any bugs?

Thanks,
Matthew




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux