http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49099

           Summary: sparc.c:‘sparc_solaris_elf_asm_named_section’ declared
                    ‘static’ but never defined
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: amyl...@gcc.gnu.org
                CC: r...@gcc.gnu.org
            Blocks: 44756
            Target: sparc64-elf, sparc64-freebsd6, sparc64-linux,
                    sparc64-netbsd, sparc64-openbsd, sparc64-rtems,
                    sparc-elf, sparc-leon3-linux-gnu --enable-target=all,
                    sparc-leon-elf, sparc-linux-gnu, sparc-netbsdelf,
                    sparc-rtems, sparc-wrs-vxworks


gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror
-Wold-style-definition -Wc++-compat -fno-common  -DHAVE_CONFIG_H -I. -I.
-I../../../gcc/gcc -I../../../gcc/gcc/. -I../../../gcc/gcc/../include
-I../../../gcc/gcc/../libcpp/include -I/opt/cfarm/mpc/include 
-I../../../gcc/gcc/../libdecnumber -I../../../gcc/gcc/../libdecnumber/dpd
-I../libdecnumber    \
                ../../../gcc/gcc/config/sparc/sparc.c -o sparc.o
../../../gcc/gcc/config/sparc/sparc.c:395:13: error:
‘sparc_solaris_elf_asm_named_section’ declared ‘static’ but never defined
[-Werror=unused-function]
cc1: all warnings being treated as errors

make[2]: *** [sparc.o] Error 1

Reply via email to