Article 5CQVA regression on -current with gcc-10.2.0

regression on -current with gcc-10.2.0

by
nobodino
from LinuxQuestions.org on (#5CQVA)
Regression on -current with gcc-10.2.0, all the following packages need the "-fcommon" option to build with gcc-10.2.0

Add in package.SlackBUild "-fcommon" to SLKCFLAGS for:

-a/ floppy, gpm, jfsutils, kbd, sharutils, tcsh

-ap/ squashfs-tools

-l/ libclc, libnih, libunwind, libvisual-plugins, ocl-icd

-n/ dhcp, gnupg, iftop, netwatch, socat

-x/ freeglut

-xap/ gnuchess

special way to obtain "-fcommon" option:

-sc-im: change the line "make || exit 1" by "CFLAGS="-fcommon" make || exit 1"

-nn: before the line "make all || exit 1" add the line "sed -i -e 's/-O2/-O2 -fcommon/' Makefile"

-tftp-hpa: after the line "./configure --prefix=/usr" add the line "sed -i -e 's/-I$(SRCROOT)/-I$(SRCROOT) -fcommon/' MCONFIG"

-seyon: before the line "make || exit 1" add the line " sed -i -e 's/-fno-strict-aliasing/-fno-strict-aliasing -fcommon/' Makefile"

-x11: openchrome, ati, amdgpu and geode video driver don't build: modify arch.use.flags as follow SLKCFLAGS="-O2 -fPIC" to SLKCFLAGS="-O2 -fPIC -fcommon"latest?d=yIl2AUoC8zA latest?i=T-YNeNbLTwA:iSAJSEJvybc:F7zBnMy latest?i=T-YNeNbLTwA:iSAJSEJvybc:V_sGLiP latest?d=qj6IDK7rITs latest?i=T-YNeNbLTwA:iSAJSEJvybc:gIN9vFwT-YNeNbLTwA
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments