[Bug 1823134] Review Request: GnuCOBOL - GnuCOBOL is a free implementation of the COBOL programming language.

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=1823134



--- Comment #5 from Artur Iwicki <fedora@xxxxxxxxxx> ---
After some investigation: yep, that's the case. Look at line 18504 and beyond
in the configure file (the pre-processed one, not the autoconf one). Inside
you'll find this little thing:

># Include CFLAGS / CPPFLAGS in COB_CFLAGS without optimization/debug options.
>if test "x$CFLAGS" != "x"; then
>	cob_temp_flags="$CFLAGS"
>else
>	cob_temp_flags=""
>fi
>if test "x$CPPFLAGS" != "x"; then
>	if test "x$cob_temp_flags" != "x"; then
>		cob_temp_flags="$CPPFLAGS $cob_temp_flags"
>	else
>		cob_temp_flags="$CPPFLAGS"
>	fi
>fi
>if test "x$cob_temp_flags" != "x"; then
>	cob_temp_flags=`echo "$cob_temp_flags" | sed -e 's/-g3//' -e 's/-g//' -e 's/ $//' -e 's/^ //'`
>	cob_temp_flags=`echo "$cob_temp_flags" | sed -e 's/[+-]O[0-9s]//' -e 's/ $//' -e 's/^ //'`
>	cob_temp_flags=`echo "$cob_temp_flags" | sed -e 's/-O//' -e 's/ $//' -e 's/^ //'`
>	cob_temp_flags=`echo "$cob_temp_flags" | sed -e 's/-fmessage-length=0//'`
>	cob_temp_flags=`echo "$cob_temp_flags" | sed -e 's/-D_FORTIFY_SOURCE=.//'`
>	cob_temp_flags=`echo "$cob_temp_flags" | sed -e 's/-fstack-protector//'`
>	cob_temp_flags=`echo "$cob_temp_flags" | sed -e 's/-funwind-tables//'`
>	cob_temp_flags=`echo "$cob_temp_flags" | sed -e 's/-fasynchronous-unwind-tables//'`
>	cob_temp_flags=`echo "$cob_temp_flags" | sed -e 's/  */ /g' -e 's/ $//' -e 's/^ //'`
>fi

The configure script is trying to create COB_FLAGS, based on CFLAGS and remove
some unwated options, but because the regexes are not specified to match on a
word boundary, it ends up mangling the options and producing stuff that the
compiler rejects.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux