Re: [lfs-dev] CFLAGS in fixing up for gcc-10.

2020-05-14 Thread Ken Moffat via lfs-dev
On Thu, May 14, 2020 at 09:21:00AM +0200, Pierre Labastie via lfs-dev wrote: > On Thu, 2020-05-14 at 05:33 +0100, Ken Moffat via lfs-dev wrote: > > I notice that in some places people have overridden any existing > > CFLAGS when adding -fcommon. In most places, for those of us who > > care the fix

Re: [lfs-dev] CFLAGS in fixing up for gcc-10.

2020-05-14 Thread Ken Moffat via lfs-dev
On Thu, May 14, 2020 at 08:53:18AM -0500, Douglas R. Reno via lfs-dev wrote: > > On 5/14/20 1:33 AM, Xi Ruoyao via lfs-dev wrote: > > On 2020-05-13 23:46 -0500, Bruce Dubbs via lfs-dev wrote: > > > On 5/13/20 11:33 PM, Ken Moffat via lfs-dev wrote: > > > > I notice that in some places people have

Re: [lfs-dev] CFLAGS in fixing up for gcc-10.

2020-05-14 Thread Douglas R. Reno via lfs-dev
On 5/14/20 1:33 AM, Xi Ruoyao via lfs-dev wrote: On 2020-05-13 23:46 -0500, Bruce Dubbs via lfs-dev wrote: On 5/13/20 11:33 PM, Ken Moffat via lfs-dev wrote: I notice that in some places people have overridden any existing CFLAGS when adding -fcommon. In most places, for those of us who care

Re: [lfs-dev] CFLAGS in fixing up for gcc-10.

2020-05-14 Thread Pierre Labastie via lfs-dev
On Thu, 2020-05-14 at 10:57 +0300, Firas Khalil Khana via lfs-dev wrote: > > That being said, and based on my testings, I believe `gdbm` is the > only package that won't build with that flag and needs `-fcommon` > explicitly specified in CFLAGS. > > A couple of packages that might not work with t

Re: [lfs-dev] CFLAGS in fixing up for gcc-10.

2020-05-14 Thread Firas Khalil Khana via lfs-dev
On Thu, May 14, 2020 at 10:39 AM Pierre Labastie via lfs-dev wrote: > > On Thu, 2020-05-14 at 14:33 +0800, Xi Ruoyao via lfs-dev wrote: > > On 2020-05-13 23:46 -0500, Bruce Dubbs via lfs-dev wrote: > > > On 5/13/20 11:33 PM, Ken Moffat via lfs-dev wrote: > > > > I notice that in some places people

Re: [lfs-dev] CFLAGS in fixing up for gcc-10.

2020-05-14 Thread Pierre Labastie via lfs-dev
On Thu, 2020-05-14 at 14:33 +0800, Xi Ruoyao via lfs-dev wrote: > On 2020-05-13 23:46 -0500, Bruce Dubbs via lfs-dev wrote: > > On 5/13/20 11:33 PM, Ken Moffat via lfs-dev wrote: > > > I notice that in some places people have overridden any existing > > > CFLAGS when adding -fcommon. In most place

Re: [lfs-dev] CFLAGS in fixing up for gcc-10.

2020-05-14 Thread Pierre Labastie via lfs-dev
On Thu, 2020-05-14 at 05:33 +0100, Ken Moffat via lfs-dev wrote: > I notice that in some places people have overridden any existing > CFLAGS when adding -fcommon. In most places, for those of us who > care the fix is obvious (CFLAGS="$CFLAGS -fcommon"). One or two > packages will turn out to be m

Re: [lfs-dev] CFLAGS in fixing up for gcc-10.

2020-05-13 Thread Xi Ruoyao via lfs-dev
On 2020-05-13 23:46 -0500, Bruce Dubbs via lfs-dev wrote: > On 5/13/20 11:33 PM, Ken Moffat via lfs-dev wrote: > > I notice that in some places people have overridden any existing > > CFLAGS when adding -fcommon. In most places, for those of us who > > care the fix is obvious (CFLAGS="$CFLAGS -fco

Re: [lfs-dev] CFLAGS in fixing up for gcc-10.

2020-05-13 Thread Bruce Dubbs via lfs-dev
On 5/13/20 11:33 PM, Ken Moffat via lfs-dev wrote: I notice that in some places people have overridden any existing CFLAGS when adding -fcommon. In most places, for those of us who care the fix is obvious (CFLAGS="$CFLAGS -fcommon"). One or two packages will turn out to be more painful. The fi

[lfs-dev] CFLAGS in fixing up for gcc-10.

2020-05-13 Thread Ken Moffat via lfs-dev
I notice that in some places people have overridden any existing CFLAGS when adding -fcommon. In most places, for those of us who care the fix is obvious (CFLAGS="$CFLAGS -fcommon"). One or two packages will turn out to be more painful. The first I've found is freeglut, where the book uses