mailing list of musl libc
 help / color / mirror / code / Atom feed
* build failure
@ 2014-05-27 17:49 Charlie Kester
  2014-05-27 20:20 ` Charlie Kester
  0 siblings, 1 reply; 3+ messages in thread
From: Charlie Kester @ 2014-05-27 17:49 UTC (permalink / raw)
  To: musl

Using latest git:

gcc-4.7 -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard
  -frounding-math -D_XOPEN_SOURCE=700 -I./arch/i386 -I./src/internal
  -I./include -Os -pipe -fomit-frame-pointer -fno-unwind-tables
  -fno-asynchronous-unwind-tables -Wa,--noexecstack -mtune=generic
  -Werror=implicit-function-declaration -Werror=implicit-int
  -Werror=pointer-sign -Werror=pointer-arith -fno-stack-protector -march=native
  -c -o src/stdio/tmpnam.o src/stdio/tmpnam.c 
src/stdio/tmpnam.c: In function ‘tmpnam’: 
src/stdio/tmpnam.c:20:3: error: implicit declaration of function ‘strcpy’ 
  [-Werror=implicit-function-declaration] 
src/stdio/tmpnam.c:20:21: warning: return makes pointer from integer without a cast 
  [enabled by default]
cc1: some warnings being treated as errors 
Makefile:115: recipe for target 'src/stdio/tmpnam.o' failed 
make: *** [src/stdio/tmpnam.o] Error 1


configure script was invoked as follows:

CC=gcc-4.7 CFLAGS="-march=native" ./configure --prefix=/usr/local/musl 
  --exec-prefix=/usr/local --enable-gcc-wrapper --disable-shared



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

* Re: build failure
  2014-05-27 17:49 build failure Charlie Kester
@ 2014-05-27 20:20 ` Charlie Kester
  2014-05-27 23:51   ` Rich Felker
  0 siblings, 1 reply; 3+ messages in thread
From: Charlie Kester @ 2014-05-27 20:20 UTC (permalink / raw)
  To: musl

On Tue 27 May 2014 at 10:49:09 PDT Charlie Kester wrote:
>Using latest git:
>
>gcc-4.7 -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard
> -frounding-math -D_XOPEN_SOURCE=700 -I./arch/i386 -I./src/internal
> -I./include -Os -pipe -fomit-frame-pointer -fno-unwind-tables
> -fno-asynchronous-unwind-tables -Wa,--noexecstack -mtune=generic
> -Werror=implicit-function-declaration -Werror=implicit-int
> -Werror=pointer-sign -Werror=pointer-arith -fno-stack-protector -march=native
> -c -o src/stdio/tmpnam.o src/stdio/tmpnam.c src/stdio/tmpnam.c: In 
>function ‘tmpnam’: src/stdio/tmpnam.c:20:3: error: implicit 
>declaration of function ‘strcpy’  
>[-Werror=implicit-function-declaration] src/stdio/tmpnam.c:20:21: 
>warning: return makes pointer from integer without a cast  [enabled by 
>default]
>cc1: some warnings being treated as errors Makefile:115: recipe for 
>target 'src/stdio/tmpnam.o' failed make: *** [src/stdio/tmpnam.o] 
>Error 1

Builds OK now.  Thanks!


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

* Re: build failure
  2014-05-27 20:20 ` Charlie Kester
@ 2014-05-27 23:51   ` Rich Felker
  0 siblings, 0 replies; 3+ messages in thread
From: Rich Felker @ 2014-05-27 23:51 UTC (permalink / raw)
  To: musl

On Tue, May 27, 2014 at 01:20:59PM -0700, Charlie Kester wrote:
> On Tue 27 May 2014 at 10:49:09 PDT Charlie Kester wrote:
> >Using latest git:
> >
> >gcc-4.7 -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard
> >-frounding-math -D_XOPEN_SOURCE=700 -I./arch/i386 -I./src/internal
> >-I./include -Os -pipe -fomit-frame-pointer -fno-unwind-tables
> >-fno-asynchronous-unwind-tables -Wa,--noexecstack -mtune=generic
> >-Werror=implicit-function-declaration -Werror=implicit-int
> >-Werror=pointer-sign -Werror=pointer-arith -fno-stack-protector -march=native
> >-c -o src/stdio/tmpnam.o src/stdio/tmpnam.c src/stdio/tmpnam.c: In
> >function ‘tmpnam’: src/stdio/tmpnam.c:20:3: error: implicit
> >declaration of function ‘strcpy’
> >[-Werror=implicit-function-declaration] src/stdio/tmpnam.c:20:21:
> >warning: return makes pointer from integer without a cast
> >[enabled by default]
> >cc1: some warnings being treated as errors Makefile:115: recipe
> >for target 'src/stdio/tmpnam.o' failed make: ***
> >[src/stdio/tmpnam.o] Error 1
> 
> Builds OK now.  Thanks!

Yep. Thanks for the catch.

Rich


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

end of thread, other threads:[~2014-05-27 23:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-27 17:49 build failure Charlie Kester
2014-05-27 20:20 ` Charlie Kester
2014-05-27 23:51   ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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).