From owner-freebsd-stable@FreeBSD.ORG Tue Sep 1 17:13:29 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C63C0106566B for ; Tue, 1 Sep 2009 17:13:29 +0000 (UTC) (envelope-from v.haisman@sh.cvut.cz) Received: from service2.sh.cvut.cz (unknown [IPv6:2001:718:2:0:217:a4ff:fe3f:b3d5]) by mx1.freebsd.org (Postfix) with ESMTP id 182AA8FC14 for ; Tue, 1 Sep 2009 17:13:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by service2.sh.cvut.cz (Postfix) with ESMTP id 324F63C0A1; Tue, 1 Sep 2009 19:13:28 +0200 (CEST) Received: from service2.sh.cvut.cz ([127.0.0.1]) by localhost (service2.sh.cvut.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27592-03; Tue, 1 Sep 2009 19:13:20 +0200 (CEST) Received: from [10.0.0.1] (35.201.broadband4.iol.cz [85.71.201.35]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by service2.sh.cvut.cz (Postfix) with ESMTP id 856603C0A0; Tue, 1 Sep 2009 19:13:20 +0200 (CEST) Message-ID: <4A9D561F.5000808@sh.cvut.cz> Date: Tue, 01 Sep 2009 19:13:03 +0200 From: =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-stable@freebsd.org X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig4632A8CC3C0452AB472E351A" X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at service2.sh.cvut.cz X-Spam-Status: No, hits=2.1 tagged_above=-255.0 required=5.0 tests=AWL, BOTNET, CRM114_HAM_00, JR_RCVD_HOST_PROBS1, JR_RCVD_TOO_FEW_HOPS X-Spam-Level: ** Subject: GCC -m32 option on FreeBSD/AMD64 7.2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 17:13:29 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4632A8CC3C0452AB472E351A Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, is C++ + GCC -m32 option officially supported by FreeBSD/AMD64 7.2? I am getting the following errors for simplest input: shell::wilx:~/tmp> cat >m32.cxx #include shell::wilx:~/tmp> g++ -c m32.cxx shell::wilx:~/tmp> g++ -m32 m32.cxx In file included from /usr/include/c++/4.2/ext/new_allocator.h:37, from /usr/include/c++/4.2/bits/c++allocator.h:39, from /usr/include/c++/4.2/bits/allocator.h:53, from /usr/include/c++/4.2/memory:54, from /usr/include/c++/4.2/string:48, from /usr/include/c++/4.2/bits/locale_classes.h:47, from /usr/include/c++/4.2/bits/ios_base.h:47, from /usr/include/c++/4.2/ios:48, from /usr/include/c++/4.2/ostream:45, from /usr/include/c++/4.2/iostream:45, from m32.cxx:1: /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter -- VH --------------enig4632A8CC3C0452AB472E351A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) iEYEAREIAAYFAkqdViUACgkQr2CghdezFMntaACgh5pCUWbYTMpVsczyd8H6HVud nSgAnAj5wQGFRIgN/wZ+KyE0ZSDQ5oWH =ygY3 -----END PGP SIGNATURE----- --------------enig4632A8CC3C0452AB472E351A--