public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Warnings during make check
@ 2021-06-23  9:27 Christer Solskogen
  2021-06-23  9:30 ` Florian Weimer
  0 siblings, 1 reply; 2+ messages in thread
From: Christer Solskogen @ 2021-06-23  9:27 UTC (permalink / raw)
  To: libc-alpha

Hi!

Are these types of warnings OK to ignore or should they be fixed?
Ubuntu 21.04 - gcc version 10.3.0 - binutils 2.36.1 - running "make 
check" on glibc master.

/usr/bin/ld: /tmp/glibc-build/stdlib/test-canon2.o: in function 
`do_prepare':
/tmp/glibc/stdlib/test-canon2.c:51: warning: the use of `mktemp' is 
dangerous, better use `mkstemp' or `mkdtemp'

/usr/bin/ld: /tmp/glibc-build/stdio-common/temptest.o: in function `main':
/tmp/glibc/stdio-common/temptest.c:14: warning: the use of `tempnam' is 
dangerous, better use `mkstemp'

/usr/bin/ld: /tmp/glibc-build/stdio-common/tst-tmpnam.o: in function 
`do_test':
/tmp/glibc/stdio-common/tst-tmpnam.c:31: warning: the use of `tmpnam' is 
dangerous, better use `mkstemp'

/usr/bin/ld: /tmp/glibc-build/stdio-common/tst-gets.o: in function 
`do_test':
/tmp/glibc/stdio-common/tst-gets.c:35: warning: the `gets' function is 
dangerous and should not be used.

/usr/bin/ld: /tmp/glibc-build/elf/tst-leaks1-static.o: in function 
`do_test':
/tmp/glibc/elf/tst-leaks1.c:14: warning: Using 'dlopen' in statically 
linked applications requires at runtime the shared libraries from the 
glibc version used for linking

/usr/bin/ld: /tmp/glibc-build/elf/tst-ifunc-textrel.o: warning: 
relocation in read-only section `.text'

-- 
chs


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

* Re: Warnings during make check
  2021-06-23  9:27 Warnings during make check Christer Solskogen
@ 2021-06-23  9:30 ` Florian Weimer
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Weimer @ 2021-06-23  9:30 UTC (permalink / raw)
  To: Christer Solskogen via Libc-alpha; +Cc: Christer Solskogen

* Christer Solskogen via Libc-alpha:

> Are these types of warnings OK to ignore or should they be fixed?
> Ubuntu 21.04 - gcc version 10.3.0 - binutils 2.36.1 - running "make
> check" on glibc master.

They all test functionality for which warnings are expected when used
outside of glibc.  I do not think there is a good way to suppress those
warnings.  We want to test the actual installed binaries as far as
possible.

Thanks,
Florian


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

end of thread, other threads:[~2021-06-23  9:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-23  9:27 Warnings during make check Christer Solskogen
2021-06-23  9:30 ` Florian Weimer

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 read-only IMAP folder(s) and NNTP newsgroup(s).