Re: build failure with gcc-10

2020-01-21 Thread Eray Aslan
On Mon, Jan 20, 2020 at 06:57:34PM +0300, Eray Aslan wrote: > On Mon, Jan 20, 2020 at 10:38:09AM -0500, Wietse Venema wrote: > > Eray Aslan: > > > gcc-10 flipped a default from -fcommon to -fno-common[1] resulting in > > > the following errors while building postfix-3.5-20200112. Simple > > > repr

Re: build failure with gcc-10

2020-01-20 Thread Wietse Venema
Eray Aslan: > On Mon, Jan 20, 2020 at 06:57:34PM +0300, Eray Aslan wrote: > > On Mon, Jan 20, 2020 at 10:38:09AM -0500, Wietse Venema wrote: > > > Eray Aslan: > > > > gcc-10 flipped a default from -fcommon to -fno-common[1] resulting in > > > > the following errors while building postfix-3.5-202001

Re: build failure with gcc-10

2020-01-20 Thread Eray Aslan
On Mon, Jan 20, 2020 at 06:57:34PM +0300, Eray Aslan wrote: > On Mon, Jan 20, 2020 at 10:38:09AM -0500, Wietse Venema wrote: > > Eray Aslan: > > > gcc-10 flipped a default from -fcommon to -fno-common[1] resulting in > > > the following errors while building postfix-3.5-20200112. Simple > > > repr

Re: build failure with gcc-10

2020-01-20 Thread Eray Aslan
On Mon, Jan 20, 2020 at 10:38:09AM -0500, Wietse Venema wrote: > Eray Aslan: > > gcc-10 flipped a default from -fcommon to -fno-common[1] resulting in > > the following errors while building postfix-3.5-20200112. Simple > > reproducer on an older gcc is to add -fno-common to CFLAGS. > > Try this.

Re: build failure with gcc-10

2020-01-20 Thread Wietse Venema
Eray Aslan: > gcc-10 flipped a default from -fcommon to -fno-common[1] resulting in > the following errors while building postfix-3.5-20200112. Simple > reproducer on an older gcc is to add -fno-common to CFLAGS. Try this. Wietse diff -ur /var/tmp/postfix-3.5-20200112/src/global/mail_pa

build failure with gcc-10

2020-01-20 Thread Eray Aslan
gcc-10 flipped a default from -fcommon to -fno-common[1] resulting in the following errors while building postfix-3.5-20200112. Simple reproducer on an older gcc is to add -fno-common to CFLAGS. /usr/x86_64-pc-linux-gnu/gcc-bin/10.0.0-pre/gcc -shared -Wl,-soname,libpostfix-global.so -Wl,--en