https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119231
Robert Dubner <rdubner at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Robert Dubner <rdubner at gcc dot gnu.org> ---
A program compiled with
gcobol hello.cbl -static
now reports
$ file test
test: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically
linked, BuildID[sha1]=3c37c93560c162fe93c00370d42d1d1743541094, for GNU/Linux
3.2.0, with debug_info, not stripped
Otherwise:
$ file test
test: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically
linked, interpreter /lib64/ld-linux-x86-64.so.2,
BuildID[sha1]=e4358da4a6b34b86f75f5b23759e4c6b3ab5bd80, for GNU/Linux 3.2.0,
with debug_info, not stripped
So, I am closing it out.
Thanks for finding the problem.
Bob D.