From owner-freebsd-ports@freebsd.org Mon Aug 3 21:40:40 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D978C9B2D8A for ; Mon, 3 Aug 2015 21:40:40 +0000 (UTC) (envelope-from cpm@fbsd.es) Received: from imap11-3.ox.privateemail.com (imap11-3.ox.privateemail.com [198.187.29.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "privateemail.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B041C9DA; Mon, 3 Aug 2015 21:40:40 +0000 (UTC) (envelope-from cpm@fbsd.es) Received: from localhost (localhost [127.0.0.1]) by imap11.ox.privateemail.com (Postfix) with ESMTP id 636958800D2; Mon, 3 Aug 2015 17:40:33 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap11.ox.privateemail.com Received: from imap11.ox.privateemail.com ([127.0.0.1]) by localhost (imap11.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id UUdtbtauIF9j; Mon, 3 Aug 2015 17:40:33 -0400 (EDT) Received: from daemonlab (106.Red-79-155-184.dynamicIP.rima-tde.net [79.155.184.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by imap11.ox.privateemail.com (Postfix) with ESMTPSA id 90BDB8800DB; Mon, 3 Aug 2015 17:40:31 -0400 (EDT) Message-ID: <1438638022.7343.7.camel@fbsd.es> Subject: Re: lang/tcc unusable From: Carlos Jacobo Puga Medina To: Jung-uk Kim , "freebsd-ports@freebsd.org" Date: Mon, 03 Aug 2015 23:40:22 +0200 In-Reply-To: <55BFDCA0.8040006@FreeBSD.org> References: <1438633579.6572.13.camel@fbsd.es> <55BFD033.8070507@FreeBSD.org> <1438634467.7343.2.camel@fbsd.es> <55BFDCA0.8040006@FreeBSD.org> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-XkMLhWF05pAsg2ZlI7KO" X-Mailer: Evolution 3.16.4 (3.16.4-2.fc22) Mime-Version: 1.0 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2015 21:40:40 -0000 --=-XkMLhWF05pAsg2ZlI7KO Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable El lun, 03-08-2015 a las 17:26 -0400, Jung-uk Kim escribi=C3=B3: > On 08/03/2015 16:41, Carlos Jacobo Puga Medina wrote: > > El lun, 03-08-2015 a las 16:33 -0400, Jung-uk Kim escribi=C3=B3: > >=20 > > Hi Jung-uk, > > > On 08/03/2015 16:26, Carlos Jacobo Puga Medina wrote: > > > > Hi people, > > > >=20 > > > > Recently I added amd64 support to TinyCC, but I encounter the=20 > > > > following problem trying to compile a simple code. > > > >=20 > > > > #include > > > >=20 > > > > int main(){ printf("hello, world!\n); return 0; } > > > >=20 > > > > % tcc -o hello hello.c In file included from hello.c:1:=20 > > > > /usr/include/stdio.h:63: error: ';' expected (got "va_list") > > > >=20 > > > > I guess that some change introduced in 'stdio.h' causes this > > > > weird behaviour. Last time that TCC worked fine was on FreeBSD > > > > 9.1 -RELEASE/i386. > > > >=20 > > > > Also I reported this problem in the tinycc-devel mailing list > > > > [1] > > > >=20 > > > > Any thoughts? > > >=20 > > > I haven't tried tcc but '"' is missing for the printf(). > >=20 > > Yes, it was a typo here :) >=20 > It seems it's a known tcc bug: >=20 > http://savannah.nongnu.org/bugs/?30966 >=20 Is there something that we can do about it? Thanks for pointing me, jkim@ -- Carlos Jacobo Puga Medina PGP fingerprint =3D C60E 9497 5302 793B CC2D BB89 A1F3 5D66 E6D0 5453 --=-XkMLhWF05pAsg2ZlI7KO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAABCAAGBQJVv9/GAAoJEKHzXWbm0FRT3RAH/AmVbay2rTajSipbfcO1TDrl B9X86w1NRPIe5w21Mlap8TJgb51qH5bArsSjWEs1q0F9BUebY2YL5/ODwYAj4aOt w6bI3Yi8vA5vHr89P0WPJiTjiP0proEnT8LeW7bXgYV61TtMGJodveRYGW3uhq2R +/fYLI6OmSI4UplTCG/1X18SgX3nBz0t0owNo597fJwN/gjKxJhq5/vuoKG//x9d 4ee9Wg/Wcp0BAZKE95Gi7eoOqS2MBylA5BSNr51v/zgTLzU7roHKo/Uze66uXPgo wCT+eMoPYrdwhWVreSNP6zGK0HFj4Im6Ha5mdTbEPUGb5OwKwGuz3phFJKq1UK8= =rHOW -----END PGP SIGNATURE----- --=-XkMLhWF05pAsg2ZlI7KO--