LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-12-2021, 11:59 AM   #1
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
regression on -current with gcc-10.2.0


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"

Other type of gcc-10.2.0 problem (not "-fcommon") :

-vsftpd: add the following line after the last "zcat $CWD/" line
------------------------------
# patch from BLFS due to gcc >= 10.1.x
sed -e "s/kVSFSysStrOpenUnknown;/(enum EVSFSysUtilOpenMode)&/" -i sysstr.c
------------------------------

Last edited by nobodino; 01-12-2021 at 12:27 PM.
 
Old 01-13-2021, 05:21 AM   #2
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,024

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Thanks for that. Tried it with the a/floppy package and that is indeed the case.
 
Old 01-18-2021, 05:48 AM   #3
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Original Poster
Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
-current has been updated. Thanks to PV.

follow link: https://git.slackware.nl/current/com...191cc5a98e82fc

Nota: Slackware is ready for glibc-2.32 now, even the few packages impacted by glibc > 2.30 (bpe, mkinitrd, tcp_wrappers) have been patched or updated.

Last edited by nobodino; 01-18-2021 at 06:03 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] regression on -current with new autoconf-2.70 nobodino Slackware 2 01-12-2021 11:34 AM
[SOLVED] Slackware-current: Bash-completion regression orbea Slackware 2 04-05-2016 03:44 PM
[SOLVED] i915 regression in -current NicePics13 Slackware 12 09-13-2015 05:36 PM
xorg regression in -current mina86 Slackware 5 03-06-2013 10:48 PM
[SOLVED] SEGMENTATION FAULT using gcc 4.4.4 -O2 , works with gcc 4.1.0 -O2 or gcc 4.4.4 -O1 amir1981 Programming 36 07-26-2010 06:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration