where/how are the builds with gcc failing on dec_osf ?

Thanks,
Adi

mktest.out:
Configuration: -Dusedevel -Dlocincpth=/p/include -Dloclibpth=/p/lib -Dcc=gcc
------------------------------------------------------------------------ ------
Unable to test perl in this configuration
Stopped smoke at 1072823267
Started smoke at 1072823267


The reason seems to be that building the Cwd extension fails:

gcc -c -ansi -fno-strict-aliasing -I/p/include -DLANGUAGE_C -O3 -DVERSION=\"2.12\" -DXS_VERSION=\"2.12\" -fpic "-I../.." Cwd.c
Cwd.xs:214:23: missing terminating ' character


And the line is

213 #ifndef getcwd_sv
214 // Taken from perl 5.8's util.c
215 int getcwd_sv(pTHX_ register SV *sv)

The // doesn't fly because of the -ansi (used to work fine with Tru64/Digital UNIX/DEC OSF/1 gcc) which is trivially fixable by making the C++ comment to be a C comment. After fixing that all builds well with gcc (5.8.x).

--
Jarkko Hietaniemi <[EMAIL PROTECTED]> http://www.iki.fi/jhi/ "There is this special
biologist word we use for 'stable'. It is 'dead'." -- Jack Cohen





Reply via email to