ATF-log archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

#61: 0.10 fails to build with clang



#61: 0.10 fails to build with clang
--------------------------------------------------+-------------------------
 Reporter:  Garrett Cooper <gcooper@...>          |       Owner:  jmmv
     Type:  defect                                |      Status:  new 
 Priority:  major                                 |   Milestone:      
Component:  BUILD                                 |     Version:  HEAD
 Keywords:                                        |  
--------------------------------------------------+-------------------------
 -Wno-traditional isn't supported with clang:

 libtool: compile:  clang -DHAVE_CONFIG_H -I. -DATF_ARCH=\"amd64\"
 -DATF_BUILD_CC=\"clang\" "-DATF_BUILD_CFLAGS=\"-O2 -pipe -fno-strict-
 aliasing -pipe -O2 -march=nocona  -g -Wall -Wcast-qual -Werror -Wextra
 -Wno-unused-parameter -Wpointer-arith -Wredundant-decls -Wreturn-type
 -Wshadow -Wsign-compare -Wswitch -Wwrite-strings -D_FORTIFY_SOURCE=2
 -Wmissing-prototypes -Wno-traditional -Wstrict-prototypes\""
 "-DATF_BUILD_CPP=\"clang -E\"" -DATF_BUILD_CPPFLAGS=\"\"
 -DATF_BUILD_CXX=\"clang++\" "-DATF_BUILD_CXXFLAGS=\"-O2 -pipe -fno-strict-
 aliasing -pipe -O2 -march=nocona -fno-strict-aliasing -pipe -O2  -g -Wall
 -Wcast-qual -Werror -Wextra -Wno-unused-parameter -Wpointer-arith
 -Wredundant-decls -Wreturn-type -Wshadow -Wsign-compare -Wswitch -Wwrite-
 strings -D_FORTIFY_SOURCE=2 -Wabi -Wctor-dtor-privacy -Wno-deprecated
 -Wno-non-template-friend -Wno-pmf-conversions -Wnon-virtual-dtor
 -Woverloaded-virtual -Wreorder -Wsign-promo -Wsynth\""
 -DATF_CONFDIR=\"/usr/local/etc\" -DATF_INCLUDEDIR=\"/usr/local/include\"
 -DATF_LIBDIR=\"/usr/local/lib\" -DATF_MACHINE=\"amd64\" -DATF_M4=\"m4\"
 -DATF_PKGDATADIR=\"/usr/local/share/atf\" -DATF_SHELL=\"/bin/sh\"
 -DATF_WORKDIR=\"/tmp\" -O2 -pipe -fno-strict-aliasing -pipe -O2
 -march=nocona -g -Wall -Wcast-qual -Werror -Wextra -Wno-unused-parameter
 -Wpointer-arith -Wredundant-decls -Wreturn-type -Wshadow -Wsign-compare
 -Wswitch -Wwrite-strings -D_FORTIFY_SOURCE=2 -Wmissing-prototypes -Wno-
 traditional -Wstrict-prototypes -MT atf-c/libatf_c_la-build.lo -MD -MP -MF
 atf-c/.deps/libatf_c_la-build.Tpo -c atf-c/build.c -o atf-c/libatf_c_la-
 build.o
 clang: warning: argument unused during compilation: '-O2'
 error: unknown warning option '-Wno-traditional' [-Wunknown-warning-
 option]
 *** Error code 1

 Stop in
 /scratch/freebsd/perforce/user/gcooper/ports/devel/atf/work/atf-0.10.
 *** Error code 1

 Stop in
 /scratch/freebsd/perforce/user/gcooper/ports/devel/atf/work/atf-0.10.
 *** Error code 1

 Stop in /scratch/freebsd/perforce/user/gcooper/ports/devel/atf.

 config.log is attached.

-- 
Ticket URL: <http://www.julipedia.org/projects/atf/trac/ticket/61>
Automated Testing Framework <http://www.NetBSD.org/~jmmv/atf/>
Automated Testing Framework


Home | Main Index | Thread Index | Old Index