From owner-freebsd-current@FreeBSD.ORG Fri Jan 11 22:59:13 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DE7EC912; Fri, 11 Jan 2013 22:59:13 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-da0-f51.google.com (mail-da0-f51.google.com [209.85.210.51]) by mx1.freebsd.org (Postfix) with ESMTP id B5C8E830; Fri, 11 Jan 2013 22:59:13 +0000 (UTC) Received: by mail-da0-f51.google.com with SMTP id i30so968567dad.24 for ; Fri, 11 Jan 2013 14:59:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:x-mailer:from:subject:date :to; bh=RLFje69LNKVOaA/6/wrSBk9UPIdyQFjQ8d82PG3VhAA=; b=v//SpyCQUxrYEKNYaBEk3qA1XEVI/s93rI1ZAJAp1my0G6KGButVYrB++/PlHzXyr9 y9NGBSbpS5y9NnTBrhmKe6dSy4Ply4Tf1YNkGBg3Ze0VRJ1LpDVIjQasCviBTeTUj0uP 2VL6HMT3/QaI+onZ8LCPXaxAsjeAhG1z/aeF9XY7Dxyhc78Op7ozhdmDYn/djG+RtCFV LQDNl6Faf6qQtE0wh15xtVuq9ltsXgIRDEuaS0hffm38IywqRhifNClSdwql6uLKzUAl kK4/eMuU/x468+RNzfLHXJdPYN65C2ciINr/74SyK3thmz1bDXB7kc6mVeQCqcSgUa7J 2AYA== X-Received: by 10.68.220.161 with SMTP id px1mr81650421pbc.167.1357945147865; Fri, 11 Jan 2013 14:59:07 -0800 (PST) Received: from [10.76.220.84] (mobile-166-137-216-147.mycingular.net. [166.137.216.147]) by mx.google.com with ESMTPS id vo6sm3506838pbc.8.2013.01.11.14.59.05 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Jan 2013 14:59:07 -0800 (PST) References: <50F06AE7.5000404@zedat.fu-berlin.de> Mime-Version: 1.0 (1.0) In-Reply-To: <50F06AE7.5000404@zedat.fu-berlin.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: X-Mailer: iPhone Mail (10A523) From: Garrett Cooper Subject: Re: r245310: /usr/src/lib/libcxxrt/../../contrib/libcxxrt/memory.cc:64:10: error: too few arguments to function call, expected 4, have 3 Date: Fri, 11 Jan 2013 14:59:04 -0800 To: "O. Hartmann" Cc: "freebs >> Current FreeBSD" , Dimitry Andric X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jan 2013 22:59:13 -0000 Dimitry cced. Sent from my iPhone On Jan 11, 2013, at 11:41 AM, "O. Hartmann" wr= ote: > When building the system, I receive very quickly the following error > when /usr/src/lib/libcxxrt is compiled: >=20 >=20 > c++ -fpic -DPIC -O2 -pipe -O3 -march=3Dnative > -I/usr/src/lib/libcxxrt/../../contrib/libcxxrt -Qunused-arguments > -fstack-protector -Wno-empty-body -Wno-string-plus-int > -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality > -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum > -Wno-parentheses -stdlib=3Dlibc++ -std=3Dc++11 -c > /usr/src/lib/libcxxrt/../../contrib/libcxxrt/memory.cc -o memory.So > /usr/src/lib/libcxxrt/../../contrib/libcxxrt/memory.cc:64:10: error: too > few arguments to function call, expected 4, have 3 > /usr/src/lib/libcxxrt/../../contrib/libcxxrt/memory.cc:64:10: error: too > few arguments to function call, expected 4, have 3 > return ATOMIC_SWAP(&new_handl, handler); > return ATOMIC_SWAP(&new_handl, handler); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/src/lib/libcxxrt/../../contrib/libcxxrt/atomic.h:14:47: note: > expanded from macro 'ATOMIC_SWAP' > __atomic_exchange(addr, val, __ATOMIC_ACQ_REL) > ~~~~~~~~~~~~~~~~~ ^ > /usr/src/lib/libcxxrt/../../contrib/libcxxrt/memory.cc:69:10: error: too > few arguments to function call, expected 3, have 2 > return ATOMIC_LOAD(&new_handl); > ^~~~~~~~~~~~~~~~~~~~~~~ > /usr/src/lib/libcxxrt/../../contrib/libcxxrt/atomic.h:25:38: note: > expanded from macro 'ATOMIC_LOAD' > __atomic_load(addr, __ATOMIC_ACQUIRE) > ~~~~~~~~~~~~~ ^ > /usr/src/lib/libcxxrt/../../contrib/libcxxrt/memory.cc:149:6: warning: > function previously declared with an implicit exception specification > redeclared with an explicit exception specification > [-Wimplicit-exception-spec-mismatch] > void operator delete[](void * ptr) throw() > ^ > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/src/lib/libcxxrt/../../contrib/libcxxrt/atomic.h:14:47: note: > expanded from macro 'ATOMIC_SWAP' > __atomic_exchange(addr, val, __ATOMIC_ACQ_REL) > ~~~~~~~~~~~~~~~~~ ^ > /usr/src/lib/libcxxrt/../../contrib/libcxxrt/memory.cc:69:10: error: too > few arguments to function call, expected 3, have 2 > return ATOMIC_LOAD(&new_handl); > ^~~~~~~~~~~~~~~~~~~~~~~ > /usr/src/lib/libcxxrt/../../contrib/libcxxrt/atomic.h:25:38: note: > expanded from macro 'ATOMIC_LOAD' > __atomic_load(addr, __ATOMIC_ACQUIRE) > ~~~~~~~~~~~~~ ^ > /usr/src/lib/libcxxrt/../../contrib/libcxxrt/memory.cc:149:6: warning: > function previously declared with an implicit exception specification > redeclared with an explicit exception specification > [-Wimplicit-exception-spec-mismatch] > void operator delete[](void * ptr) throw() > ^ > 1 warning and 2 errors generated. > 1 warning and 2 errors generated. > *** [memory.So] Error code 1 > *** [memory.o] Error code 1 > 2 errors > *** [lib/libcxxrt__L] Error code 2 > 1 error > *** [libraries] Error code 2 > 1 error > *** [_libraries] Error code 2 > 1 error > *** [buildworld] Error code 2 > 1 error >=20