[HLFS Trac] #1646: coreutils-6.10 -D_FORTIFY_SOURCE=2 warnings

HLFS Trac trac at linuxfromscratch.org
Sat Mar 8 16:25:59 PST 2008

#1646: coreutils-6.10 -D_FORTIFY_SOURCE=2 warnings
 Reporter:  robert at linuxfromscratch.org  |       Owner:  hlfs-dev at linuxfromscratch.org
     Type:  defect                       |      Status:  new                          
 Priority:  high                         |   Milestone:  Release 1.0                  
Component:  HLFS Book                    |     Version:  SVN                          
 Severity:  normal                       |    Keywords:                               
 When compiling coreutils-6.10 we get warnings about redefined printf

 In file included from getdate.y:65:
 ./stdio.h:116:1: warning: "vfprintf" redefined
 In file included from /tools/include/stdio.h:836,
                  from ./stdio.h:33,
                  from getdate.y:65:
 /tools/include/bits/stdio2.h:70:1: warning: this is the location of the
 previous definition

 This is caused by -D_FORTIFY_SOURCE=2. I don't know if the warnings are a
 problem, nor the best way to suppress them.

Ticket URL: <http://wiki.linuxfromscratch.org/hlfs/ticket/1646>
HLFS Trac <http://wiki.linuxfromscratch.org/hlfs>
Hardened Linux From Scratch

More information about the hlfs-dev mailing list