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

[Xen-devel] xen 4.5 build broke at eed8d774ce19dcae26e1cc077088397681ad65eb



Hi Folks,

We have a daily build process for xen 4.5 and while checking the last
few days build, I found an error that was introduced by

1166ecf tools/Rules.mk: Don't optimize debug builds; add macro debugging
information

The error is below :

gcc  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches  -m64 -mtune=generic -O1 -fno-omit-frame-pointer
-m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
-Wdeclaration-after-statement -Wno-unused-but-set-variable
-Wno-unused-local-typedefs   -O1 -fno-omit-frame-pointer -m64 -g
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
-Wdeclaration-after-statement -Wno-unused-but-set-variable
-Wno-unused-local-typedefs   -O0 -g3 -D__XEN_TOOLS__ -MMD -MF
.subdirs-install.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-fno-optimize-sibling-calls  -O1 -fno-omit-frame-pointer -m64 -g
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
-Wdeclaration-after-statement -Wno-unused-but-set-variable
-Wno-unused-local-typedefs   -O0 -g3 -D__XEN_TOOLS__ -MMD -MF
.subdir-install-libxc.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-fno-optimize-sibling-calls  -O1 -fno-omit-frame-pointer -m64 -g
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
-Wdeclaration-after-statement -Wno-unused-but-set-variable
-Wno-unused-local-typedefs   -O0 -g3 -D__XEN_TOOLS__ -MMD -MF .build.d
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls
-D_GNU_SOURCE -I../../xen/common/libelf -Werror -Wmissing-prototypes -I.
-I./include
-I/builddir/build/BUILD/xen-4.5.0/tools/libxc/../../tools/include
-pthread -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing
-std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement
-Wno-unused-but-set-variable -Wno-unused-local-typedefs   -O0 -g3
-D__XEN_TOOLS__ -MMD -MF .xc_domain.o.d -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls -D_GNU_SOURCE
-I../../xen/common/libelf -Werror -Wmissing-prototypes -I. -I./include
-I/builddir/build/BUILD/xen-4.5.0/tools/libxc/../../tools/include
-pthread -include
/builddir/build/BUILD/xen-4.5.0/tools/libxc/../../tools/config.h  -c -o
xc_domain.o xc_domain.c
In file included from /usr/include/unistd.h:25:0,
                 from xg_private.h:20,
                 from xc_core.c:64:
/usr/include/features.h:327:4: error: #warning _FORTIFY_SOURCE requires
compiling with optimization (-O) [-Werror=cpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
In file included from /usr/include/unistd.h:25:0,
                 from xc_private.h:20,
                 from xc_domain.c:23:
/usr/include/features.h:327:4: error: #warning _FORTIFY_SOURCE requires
compiling with optimization (-O) [-Werror=cpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
In file included from /usr/include/unistd.h:25:0,
                 from xc_private.h:20,
                 from xc_cpupool.c:24:
/usr/include/features.h:327:4: error: #warning _FORTIFY_SOURCE requires
compiling with optimization (-O) [-Werror=cpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
In file included from /usr/include/unistd.h:25:0,
                 from xg_private.h:20,
                 from xc_core_x86.c:21:
/usr/include/features.h:327:4: error: #warning _FORTIFY_SOURCE requires
compiling with optimization (-O) [-Werror=cpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
cc1: all warnings being treated as errors
make[4]: *** [xc_cpupool.o] Error 1
make[4]: *** Waiting for unfinished jobs....
cc1: all warnings being treated as errors
cc1: all warnings being treated as errors
make[4]: *** [xc_core.o] Error 1
cc1: all warnings being treated as errors
make[4]: *** [xc_core_x86.o] Error 1
make[4]: *** [xc_domain.o] Error 1
make[4]: Leaving directory `/builddir/build/BUILD/xen-4.5.0/tools/libxc'
make[3]: *** [build] Error 2
make[3]: Leaving directory `/builddir/build/BUILD/xen-4.5.0/tools/libxc'
make[2]: *** [subdir-install-libxc] Error 2
make[2]: Leaving directory `/builddir/build/BUILD/xen-4.5.0/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/builddir/build/BUILD/xen-4.5.0/tools'
make: *** [install-tools] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.8k6E0p (%build)
    Bad exit status from /var/tmp/rpm-tmp.8k6E0p (%build)
RPM build errors:
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps
builddir/build/SPECS/xen.spec']
Traceback (most recent call last):

The full log is attached.

Thanks for your help.

--

Regards,

Marcos Eduardo Matsunaga

Oracle USA
Linux Engineering

âThe statements and opinions expressed here are my own and do not
necessarily represent those of Oracle Corporation.â

Attachment: build.log
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.