From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) by sourceware.org (Postfix) with ESMTPS id C7E25385040B for ; Wed, 23 Jun 2021 09:27:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C7E25385040B Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lvzAZ-000247-5i for libc-alpha@sourceware.org; Wed, 23 Jun 2021 11:27:39 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: libc-alpha@sourceware.org From: Christer Solskogen Subject: Warnings during make check Date: Wed, 23 Jun 2021 11:27:34 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 X-Mozilla-News-Host: news://news.gmane.io:119 Content-Language: en-US X-Spam-Status: No, score=3.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD, FORGED_MUA_MOZILLA, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, NML_ADSP_CUSTOM_MED, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Level: *** X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2021 09:27:41 -0000 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