This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2] Use C99-compliant scanf under _GNU_SOURCE with modern compilers.
- From: Andreas Schwab <schwab at suse dot de>
- To: Zack Weinberg <zackw at panix dot com>
- Cc: libc-alpha at sourceware dot org, joseph at codesourcery dot com, ricaljasan at pacific dot net
- Date: Thu, 22 Feb 2018 10:41:29 +0100
- Subject: Re: [PATCH v2] Use C99-compliant scanf under _GNU_SOURCE with modern compilers.
- Authentication-results: sourceware.org; auth=none
- References: <20180222044152.20029-1-zackw@panix.com>
I'm getting this failure on powerpc (all variants):
powerpc64-linux-gcc ../sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c -c -std=gnu11 -fgnu89-inline -O2 -Wall -Werror -Wundef -Wwrite-strings -fmerge-all-constants -fno-stack-protector -frounding-math -g -Wstrict-prototypes -Wold-style-definition -mlong-double-128 -fPIC -D__NO_MATH_INLINES -D__LIBC_INTERNAL_MATH_INLINES -I../include -I/suse/schwab/src/libc/c-ppc64/math -I/suse/schwab/src/libc/c-ppc64 -I../sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu -I../sysdeps/unix/sysv/linux/powerpc/powerpc64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/powerpc/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/powerpc -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/powerpc/powerpc64/fpu/multiarch -I../sysdeps/powerpc/powerpc64/fpu -I../sysdeps/powerpc/powerpc64/multiarch -I../sysdeps/powerpc/powerpc64 -I../sysdeps/wordsize-64 -I../sysdeps/powerpc/fpu -I../sysdeps/powerpc -I../sysdeps/ieee754/ldbl-128ibm/include -I../sysdeps/ieee754/ldbl-128ibm -I../sysdeps/ieee754/ldbl-opt -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -D_LIBC_REENTRANT -include /suse/schwab/src/libc/c-ppc64/libc-modules.h -DMODULE_NAME=libnldbl -include ../include/libc-symbols.h -DPIC -DLIBC_NONSHARED=1 -DTOP_NAMESPACE=glibc -o /suse/schwab/src/libc/c-ppc64/math/nldbl-sscanf.oS -MD -MP -MF /suse/schwab/src/libc/c-ppc64/math/nldbl-sscanf.oS.dt -MT /suse/schwab/src/libc/c-ppc64/math/nldbl-sscanf.oS
In file included from <command-line>:0:0:
../sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c:17:23: error: ‘_IO_sscanf’ aliased to undefined symbol ‘sscanf’
strong_alias (sscanf, _IO_sscanf)
^
./../include/libc-symbols.h:135:26: note: in definition of macro ‘_strong_alias’
extern __typeof (name) aliasname __attribute__ ((alias (#name)));
^~~~~~~~~
../sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c:17:1: note: in expansion of macro ‘strong_alias’
strong_alias (sscanf, _IO_sscanf)
^~~~~~~~~~~~
/suse/schwab/src/libc/c-ppc64/sysd-rules:781: recipe for target '/suse/schwab/src/libc/c-ppc64/math/nldbl-sscanf.oS' failed
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."