selinux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problems with the selinux-testsuite and GCC v10?
@ 2020-01-23 22:08 Paul Moore
  2020-01-23 22:10 ` Paul Moore
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Moore @ 2020-01-23 22:08 UTC (permalink / raw)
  To: selinux

Is anyone else seeing the failure below?  I haven't dug into it too
much, but I believe it happened when my test system was updated to GCC
v10 (Fedora Rawhide).

make[2]: Entering directory '/root/sources/selinux-testsuite/tests/binder'
cc -g -O0 -Wall -D_GNU_SOURCE -DHAVE_BPF -DHAVE_BINDERFS
check_binder.c binder_common.c binder_common.h ../bpf/bpf_common.c
../bpf/bpf_common.h  -lselinux -lrt -lbpf -o check_binder
/usr/bin/ld: /tmp/ccZwlOfx.o:/root/sources/selinux-testsuite/tests/binder/binder_common.h:45:
multiple definition of `verbose';
/tmp/ccET4A6w.o:/root/sources/selinux-testsuite/tests/binder/binder_common.h:
45: first defined here
/usr/bin/ld: /tmp/ccZwlOfx.o:/root/sources/selinux-testsuite/tests/binder/binder_common.h:56:
multiple definition of `fd_type';
/tmp/ccET4A6w.o:/root/sources/selinux-testsuite/tests/binder/binder_common.h:
56: first defined here
/usr/bin/ld: /tmp/ccZwlOfx.o:/root/sources/selinux-testsuite/tests/binder/binder_common.h:57:
multiple definition of `fd_type_str';
/tmp/ccET4A6w.o:/root/sources/selinux-testsuite/tests/binder/binder_commo
n.h:57: first defined here
collect2: error: ld returned 1 exit status

-- 
paul moore
www.paul-moore.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problems with the selinux-testsuite and GCC v10?
  2020-01-23 22:08 Problems with the selinux-testsuite and GCC v10? Paul Moore
@ 2020-01-23 22:10 ` Paul Moore
  2020-01-24 21:19   ` Paul Moore
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Moore @ 2020-01-23 22:10 UTC (permalink / raw)
  To: selinux

On Thu, Jan 23, 2020 at 5:08 PM Paul Moore <paul@paul-moore.com> wrote:
> Is anyone else seeing the failure below?  I haven't dug into it too
> much, but I believe it happened when my test system was updated to GCC
> v10 (Fedora Rawhide).

Aaaaand nevermind.  It appears to be a legitimate problem with the
test suite, expect a patch shortly.

-- 
paul moore
www.paul-moore.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problems with the selinux-testsuite and GCC v10?
  2020-01-23 22:10 ` Paul Moore
@ 2020-01-24 21:19   ` Paul Moore
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Moore @ 2020-01-24 21:19 UTC (permalink / raw)
  To: selinux

On Thu, Jan 23, 2020 at 5:10 PM Paul Moore <paul@paul-moore.com> wrote:
>
> On Thu, Jan 23, 2020 at 5:08 PM Paul Moore <paul@paul-moore.com> wrote:
> > Is anyone else seeing the failure below?  I haven't dug into it too
> > much, but I believe it happened when my test system was updated to GCC
> > v10 (Fedora Rawhide).
>
> Aaaaand nevermind.  It appears to be a legitimate problem with the
> test suite, expect a patch shortly.

I was just bit again by this bug while trying to build a test kernel.
For those who are interested, it appears that GCC v10 changed it's
defaults and it is breaking a number of existing applications,
although it should be noted that these were existing problems that GCC
wasn't flagging as errors.

* https://gcc.gnu.org/gcc-10/porting_to.html#common

-- 
paul moore
www.paul-moore.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-24 21:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-23 22:08 Problems with the selinux-testsuite and GCC v10? Paul Moore
2020-01-23 22:10 ` Paul Moore
2020-01-24 21:19   ` Paul Moore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).