Activity for Toshio Kuratomi

  • Toshio Kuratomi Toshio Kuratomi posted a comment on ticket #627

    I think LD_PRELOAD as part of the build process is fine. IIRC, it doesn't encode anything into the built object; it just tells the currently running code to looks for a library somewhere it normally wouldn't.

  • Toshio Kuratomi Toshio Kuratomi modified a comment on ticket #627

    Hmmm.... There's another problem in the sed handling which is exacerbated by my patch... -g is being used in the gnucobolo build like this: -grecord-gcc-switches This is munged by the first sed line which does: -e 's/-g//' If there's no -g flag given in CFLAGS, then the -g gets stripped from gnucobol's -grecord-gcc-switches line. My patch makes it worse because it makes that sed command global and thus the -g gets stripped from -grecord-gcc-switches even if there is a prior -g switch but the underlying...

  • Toshio Kuratomi Toshio Kuratomi posted a comment on discussion Help getting started

    I replied on the patch I submitted. I think that what's happening is that particular section of code is stripping out '-g'. However, the CFLAGS that are being passed in include -grecord-gcc-switches. So the build is stripping out -g but leaving record-gcc-switches. When cobc builds something, it then thinks that record-gcc-switches is a filename to compile rather than a gcc command line switch. cobc -info output seems to support this theory. Notice the record-gcc-switches difference between CFLAGS...

  • Toshio Kuratomi Toshio Kuratomi posted a comment on discussion Help getting started

    I tracked this down and submitted a patch for this today: https://sourceforge.net/p/open-cobol/patches/49/ I was even able to build an rpm (for fedora... I'm not using RHEL or CentOS so I didn't look into why it failed there. ): https://copr.fedorainfracloud.org/coprs/toshio/Cobol/ However when I try to build something I get the gcc: error: record-gcc-switches: No such file or directory error which I'm unsure what the meaning of it is.

  • Toshio Kuratomi Toshio Kuratomi posted a comment on ticket #49

    Hmmm.... There's another problem in the sed handling which is exacerbated by my patch... -g is being unsed in the gnucobolo build like this: -grecord-gcc-switches This is munged by the first sed line which does: -e 's/-g//' If there's no -g flag given in CFLAGS, then the -g gets stripped from gnucobol's -grecord-gcc-switches line. My patch makes it worse because it makes that sed command global and thus the -g gets stripped from -grecord-gcc-switches even if there is a prior -g switch but the underlying...

  • Toshio Kuratomi Toshio Kuratomi created ticket #49

    configure script does not handle multiple blacklisted CFLAGS

1