From owner-freebsd-bugs@FreeBSD.ORG Sat Nov 17 02:10:04 2007 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F3DE16A419 for ; Sat, 17 Nov 2007 02:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E003013C458 for ; Sat, 17 Nov 2007 02:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lAH2A3to051334 for ; Sat, 17 Nov 2007 02:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lAH2A3wf051333; Sat, 17 Nov 2007 02:10:03 GMT (envelope-from gnats) Resent-Date: Sat, 17 Nov 2007 02:10:03 GMT Resent-Message-Id: <200711170210.lAH2A3wf051333@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, bf Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD8DD16A41B for ; Sat, 17 Nov 2007 02:01:27 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 9938B13C459 for ; Sat, 17 Nov 2007 02:01:27 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id lAH20pRj049837 for ; Sat, 17 Nov 2007 02:00:51 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id lAH20pEi049836; Sat, 17 Nov 2007 02:00:51 GMT (envelope-from nobody) Message-Id: <200711170200.lAH20pEi049836@www.freebsd.org> Date: Sat, 17 Nov 2007 02:00:51 GMT From: bf To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/118097: graphics/libfpx: build failure on 6.2-stable i386 with gcc 4.2.x X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2007 02:10:04 -0000 >Number: 118097 >Category: misc >Synopsis: graphics/libfpx: build failure on 6.2-stable i386 with gcc 4.2.x >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Nov 17 02:10:03 UTC 2007 >Closed-Date: >Last-Modified: >Originator: bf >Release: 6.2-Stable i386 >Organization: >Environment: >Description: The port fails to build with my system compiler (3.4.6 with propolice stack protection enabled) and lang/gcc42. Here's the error message with the latter compiler: ---> Build of graphics/libfpx started at: Sun, 04 Nov 2007 16:19:29 -0500 ---> Building '/usr/ports/graphics/libfpx' with make flags: CC=/usr/local/bin/gcc42 CXX=/usr/local/bin/g++42 ===> Cleaning for libfpx-1.2.0.12_1 ===> Extracting for libfpx-1.2.0.12_1 => MD5 Checksum OK for libfpx-1.2.0.12.tar.bz2. => SHA256 Checksum OK for libfpx-1.2.0.12.tar.bz2. => MD5 Checksum OK for fpx.mega-patch.2007-11-01.bz2. => SHA256 Checksum OK for fpx.mega-patch.2007-11-01.bz2. ===> Patching for libfpx-1.2.0.12_1 ===> Applying distribution patches for libfpx-1.2.0.12_1 /bin/rm /usr/tmp/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/ri_image/wchar.c /usr/tmp/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/fpx/fpxlib.h ===> Configuring for libfpx-1.2.0.12_1 ===> Building for libfpx-1.2.0.12_1 Warning: Object directory not changed from original /usr/tmp/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12 /usr/local/bin/g++42 -O2 -fno-strict-aliasing -pipe -march=athlon-tbird -DHAVE_WCHAR_H -DHAVE_DLFCN_H -DHAVE_SYS_TIME_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_MOUNT_H -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -fno-rtti -fno-exceptions -DHAVE_WCHAR_H -DHAVE_DLFCN_H -DHAVE_SYS_TIME_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_MOUNT_H -I/usr/tmp/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/oless/h -I/usr/tmp/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/jpeg -I/usr/tmp/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/ole -I/usr/tmp/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/basics -I/usr/tmp/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/ri_image -I/usr/tmp/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/oless -I/usr/tmp/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/fpx -I/usr/tmp/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/. -I/usr/local/include -D_UNIX -c /usr/tmp/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/ole/olestorg.c pp cc1plus: warnings being treated as errors In file included from /usr/local/lib/gcc-4.2.3/include/c++/ios:50, from /usr/local/lib/gcc-4.2.3/include/c++/ostream:45, from /usr/local/lib/gcc-4.2.3/include/c++/iostream:45, from /usr/tmp/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/ole/olestorg.cpp:20: /usr/local/lib/gcc-4.2.3/include/c++/bits/basic_ios.h: In member function 'void std::basic_ios<_CharT, _Traits>::_M_setstate(std::_Ios_Iostate)': /usr/local/lib/gcc-4.2.3/include/c++/bits/basic_ios.h:156: warning: empty body in an if-statement *** Error code 1 1 error *** Error code 2 Stop in /usr/ports/graphics/libfpx. Probably there are more errors that cause similar problems at later stages of the build. A crude fix is to change graphics/libfpx/files/Makefile.bsd so that -fno-exceptions is no longer added to CXXFLAGS. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: