https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124616
--- Comment #15 from Steve Kargl <kargl at gcc dot gnu.org> ---
(In reply to James K. Lowden from comment #14)
> Resolved by d1ae42fa225388ac6e43def2753eac2c5b326efb on 30 July. Please
> confirm.
Seems to be still broken.
With this configure line
../gcc/configure --prefix=$HOME/work/x \
--enable-languages=c,c++,fortran,lto,algol68,cobol \
--enable-bootstrap --disable-multilib --without-libintl --disable-nls \
--disable-libssp --enable-checking=yes \
--enable-libgcobol \
--with-target-libxml2-include=/usr/local/include/libxml2 \
--with-target-libxml2-lib=/usr/local/lib
I eventually get here:
/shim/open.cc -fPIC -DPIC -o posix/shim/.libs/open.o
../../../gcc/libgcobol/posix/shim/open.cc: In function 'int posix_open(const
char*, int, int)':
../../../gcc/libgcobol/posix/shim/open.cc:38:29: error: 'O_LARGEFILE' was not
declared in this scope
38 | { cbl::PSX_O_LARGEFILE, O_LARGEFILE },
| ^~~~~~~~~~~
../../../gcc/libgcobol/posix/shim/open.cc:68:3: error: no matching function for
call to 'std::map<int, int>::map(<brace-enclosed initializer list>)'
68 | };
| ^
O_LARGEFILE is not posix.