From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 3 06:10:11 2012 Return-Path: Delivered-To: freebsd-ports-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 2011E1065674 for ; Thu, 3 May 2012 06:10:11 +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 E29638FC14 for ; Thu, 3 May 2012 06:10:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q436AAek079711 for ; Thu, 3 May 2012 06:10:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q436AArh079710; Thu, 3 May 2012 06:10:10 GMT (envelope-from gnats) Resent-Date: Thu, 3 May 2012 06:10:10 GMT Resent-Message-Id: <201205030610.q436AArh079710@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Oliver Hartmann Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07225106566B for ; Thu, 3 May 2012 06:05:51 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id C92D78FC0A for ; Thu, 3 May 2012 06:05:50 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q4365oJL026870 for ; Thu, 3 May 2012 06:05:50 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q4365oE1026869; Thu, 3 May 2012 06:05:50 GMT (envelope-from nobody) Message-Id: <201205030605.q4365oE1026869@red.freebsd.org> Date: Thu, 3 May 2012 06:05:50 GMT From: Oliver Hartmann To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/167550: graphics/osg: /usr/ports/graphics/osg/work/OpenSceneGraph-3.0.1/include/OpenThreads/Atomic:244:48: error: cannot initialize a parameter of type 'void *' with an lvalue of type 'const void *const' return __sync_bool_compare_and_swap(&_ptr, pt X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 06:10:11 -0000 >Number: 167550 >Category: ports >Synopsis: graphics/osg: /usr/ports/graphics/osg/work/OpenSceneGraph-3.0.1/include/OpenThreads/Atomic:244:48: error: cannot initialize a parameter of type 'void *' with an lvalue of type 'const void *const' return __sync_bool_compare_and_swap(&_ptr, >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 03 06:10:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Oliver Hartmann >Release: FreeBSD 9.0-STABLE/amd64 CLANG built >Organization: FU Berlin >Environment: FreeBSD bla.de 9.0-STABLE FreeBSD 9.0-STABLE #1 r234923: Wed May 2 11:39:06 CEST 2012 [...] amd64 >Description: On FreeBSD 9.0-STABLE/amd64, built with CLANG, updating of graphics/osg fails the subsequent noticed error. This error also occur when trying compiling with CLANG, legacy gcc 4.2.1 (system) and GCC 4.6 and gcc 4.7. This error does not happen when compiling on FreeBSD 10.0-CURRENT/amd64. ===> Building for osg-3.0.1 Scanning dependencies of target OpenThreads [ 0%] Building CXX object src/OpenThreads/pthreads/CMakeFiles/OpenThreads.dir/PThread.o [ 0%] Building CXX object src/OpenThreads/pthreads/CMakeFiles/OpenThreads.dir/PThreadBarrier.o [ 0%] Building CXX object src/OpenThreads/pthreads/CMakeFiles/OpenThreads.dir/PThreadCondition.o [ 0%] Building CXX object src/OpenThreads/pthreads/CMakeFiles/OpenThreads.dir/PThreadMutex.o [ 0%] Building CXX object src/OpenThreads/pthreads/CMakeFiles/OpenThreads.dir/__/common/Version.o [ 0%] Building CXX object src/OpenThreads/pthreads/CMakeFiles/OpenThreads.dir/__/common/Atomic.o In file included from /usr/ports/graphics/osg/work/OpenSceneGraph-3.0.1/src/OpenThreads/common/Atomic.cpp:14: /usr/ports/graphics/osg/work/OpenSceneGraph-3.0.1/include/OpenThreads/Atomic:244:48: error: cannot initialize a parameter of type 'void *' with an lvalue of type 'const void *const' return __sync_bool_compare_and_swap(&_ptr, ptrOld, ptrNew); ^~~~~~ 1 error generated. *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 1 Stop in /usr/ports/graphics/osg. >How-To-Repeat: Try updating graphics/osg on FreeBSD 9.0-STABLE/amd64. >Fix: >Release-Note: >Audit-Trail: >Unformatted: ptrOld, ptrNew);