[Bug 2462] New: [IcedTea8] Backport "8074839: Resolve disabled warnings for libunpack and the unpack200 binary"
bugzilla-daemon at icedtea.classpath.org
bugzilla-daemon at icedtea.classpath.org
Fri Jun 19 21:33:15 UTC 2015
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2462
Bug ID: 2462
Summary: [IcedTea8] Backport "8074839: Resolve disabled
warnings for libunpack and the unpack200 binary"
Product: IcedTea
Version: 8-hg
Hardware: all
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: IcedTea
Assignee: gnu.andrew at redhat.com
Reporter: gnu.andrew at redhat.com
CC: unassigned at icedtea.classpath.org
changeset: 11653:ee13ce369705
user: mikael
date: Fri Mar 20 10:02:44 2015 -0700
summary: 8074839: Resolve disabled warnings for libunpack and the unpack200
binary
Without this, the build falls foul of the -Werror=format-security set by the
Fedora build system.
/usr/bin/g++ -W -Wall -Wno-unused -Wno-parentheses -pipe -D_GNU_SOURCE
-D_REENTRANT -D_LARGEFILE64_SOURCE -fno-omit-frame-pointer -D_LP64=1
-D_LITTLE_ENDIAN -DLINUX -DNDEBUG -DARCH='"amd64"' -Damd64
-DRELEASE='"1.8.0_40"'
-I/builddir/build/BUILD/icedtea-3.0.0pre04/openjdk.build-boot/jdk/include
-I/builddir/build/BUILD/icedtea-3.0.0pre04/openjdk.build-boot/jdk/include/linux
-I/builddir/build/BUILD/icedtea-3.0.0pre04/openjdk-boot/jdk/src/share/javavm/export
-I/builddir/build/BUILD/icedtea-3.0.0pre04/openjdk-boot/jdk/src/solaris/javavm/export
-I/builddir/build/BUILD/icedtea-3.0.0pre04/openjdk-boot/jdk/src/share/native/common
-I/builddir/build/BUILD/icedtea-3.0.0pre04/openjdk-boot/jdk/src/solaris/native/common
-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64
-mtune=generic -fPIC
-I/builddir/build/BUILD/icedtea-3.0.0pre04/openjdk.build-boot/jdk/gensrc_headers
-Wno-unused-parameter -DNO_ZLIB -DUNPACK_JNI -DFULL -g -O2
-DTHIS_FILE='"utils.cpp"' -c -MMD -MF
/builddir/build/BUILD/icedtea-3.0.0pre04/openjdk.build-boot/jdk/objs/libunpack/utils.d
-o
/builddir/build/BUILD/icedtea-3.0.0pre04/openjdk.build-boot/jdk/objs/libunpack/utils.o
/builddir/build/BUILD/icedtea-3.0.0pre04/openjdk-boot/jdk/src/share/native/com/sun/java/util/jar/pack/utils.cpp
/builddir/build/BUILD/icedtea-3.0.0pre04/openjdk-boot/jdk/src/share/native/com/sun/java/util/jar/pack/utils.cpp:
In function 'int assert_failed(const char*)':
/builddir/build/BUILD/icedtea-3.0.0pre04/openjdk-boot/jdk/src/share/native/com/sun/java/util/jar/pack/utils.cpp:84:28:
error: format not a string literal and no format arguments
[-Werror=format-security]
fprintf(stdout, 1+message);
^
cc1plus: some warnings being treated as errors
lib/CoreLibraries.gmk:288: recipe for target
'/builddir/build/BUILD/icedtea-3.0.0pre04/openjdk.build-boot/jdk/objs/libunpack/utils.o'
failed
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20150619/70548068/attachment.html>
More information about the distro-pkg-dev
mailing list