From owner-freebsd-ports@FreeBSD.ORG Thu Jan 29 06:36:52 2009 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A54D11065670 for ; Thu, 29 Jan 2009 06:36:52 +0000 (UTC) (envelope-from bf2006a@yahoo.com) Received: from web39103.mail.mud.yahoo.com (web39103.mail.mud.yahoo.com [209.191.86.254]) by mx1.freebsd.org (Postfix) with SMTP id 613268FC13 for ; Thu, 29 Jan 2009 06:36:52 +0000 (UTC) (envelope-from bf2006a@yahoo.com) Received: (qmail 69235 invoked by uid 60001); 29 Jan 2009 06:36:52 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=N0tm5BBKFsbmLYrll/YHBqwXFdAAn2oOeN5TzisKt8octA6sGQTZ0zNozQiNRY35QjjSIVBbWrmExq6yHVeDmUPRbBDWA3i5kr4AkgeBH3gsrz1eEm0PA19L4YhGqlCxUerQulq8h2aGOGs6Rpq1LznhhlIpgP6HSHuiZOGuMac=; X-YMail-OSG: VMvs1DQVM1m_ceggXXgpl8PhjrAb2LJl4ZJKOAD2fKvFMUYQYR75vn7Os6.f3QTYJgij142QMudHdJCwtWJgswzq2zbyLsdsT96ToB20N1seTRPODc1NYO3eZVr_0AuAR72yOqK7Jr8Cw4Ta0EqJEO5Q7AsItJTVAe0a2msED3GY3pK4mHgTnZo- Received: from [79.173.96.82] by web39103.mail.mud.yahoo.com via HTTP; Wed, 28 Jan 2009 22:36:51 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Wed, 28 Jan 2009 22:36:51 -0800 (PST) From: bf To: freebsd-ports@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-1426266860-1233211011=:67976" Message-ID: <995970.67976.qm@web39103.mail.mud.yahoo.com> Cc: Christoph Mallon Subject: cparser 0.9.8 / libfirm 1.16.0 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2009 06:36:52 -0000 --0-1426266860-1233211011=:67976 Content-Type: text/plain; charset=us-ascii I was experimenting with cparser and libfirm, and I decided, as a first step, to build and install both from their FreeBSD Ports on 8-CURRENT i386 using the system C compiler (CFLAGS=-O2 -fno-strict-aliasing -fstack protector-all -march=athlon-tbird) , and then use the two to rebuild libfirm. But with the current versions of both ports, and the new versions that I built with the attached patches, the libfirm build fails: ... [assorted warnings issued] ... /bin/sh ../libtool --tag=CC --mode=compile cparser -DHAVE_CONFIG_H -I. -I.. -I../include/libfirm -I../include/libfirm/adt -I.. -I../ir/adt -I../ir/ana -I../ir/arch -I../ir/be -I../ir/common -I../ir/debug -I../ir/ident -I../ir/ir -I../ir/libcore -I../ir/lower -I../ir/net -I../ir/opt -I../ir/stat -I../ir/tr -I../ir/tv -O4 -std=gnu99 -Wall -Wextra -march=athlon-tbird -MT ircfscc.lo -MD -MP -MF .deps/ircfscc.Tpo -c -o ircfscc.lo `test -f 'ana/ircfscc.c' || echo './'`ana/ircfscc.c libtool: compile: cparser -DHAVE_CONFIG_H -I. -I.. -I../include/libfirm -I../include/libfirm/adt -I.. -I../ir/adt -I../ir/ana -I../ir/arch -I../ir/be -I../ir/common -I../ir/debug -I../ir/ident -I../ir/ir -I../ir/libcore -I../ir/lower -I../ir/net -I../ir/opt -I../ir/stat -I../ir/tr -I../ir/tv -O4 -std=gnu99 -Wall -Wextra -march=athlon-tbird -MT ircfscc.lo -MD -MP -MF .deps/ircfscc.Tpo -c ana/ircfscc.c -o .libs/ircfscc.o ../ir/ir/irflag_t.h:110: warning: redundant declaration for 'firm_init_flags' (declared at line 65 of "../ir/ir/irflag_t.h") ana/ircfscc.c:410: warning: variable 'index' shadows function (declared at line 52 of "/usr/include/strings.h") ana/ircfscc.c:434: warning: variable 'index' shadows function (declared at line 52 of "/usr/include/strings.h") 3 warning(s) Panic: couldn't fold constant Abort trap (core dumped) gmake[3]: *** [ircfscc.lo] Error 1 gmake[3]: Leaving directory `/tmp/usr/ports/devel/libfirm/work/libfirm-1.16.0/ir' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/tmp/usr/ports/devel/libfirm/work/libfirm-1.16.0/ir' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/usr/ports/devel/libfirm/work/libfirm-1.16.0' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/devel/libfirm. *** Error code 1 Stop in /usr/ports/devel/libfirm. It fails with less aggressive CFLAGS as well. Not an auspicious beginning. :( Have I blundered, or is it not quite ready for this task yet? Comments? Regards, b. --0-1426266860-1233211011=:67976 Content-Type: text/plain; name="libfirm_1160_diff.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="libfirm_1160_diff.txt" ZGlmZiAtcnVOIGxpYmZpcm0ub3JpZy9NYWtlZmlsZSBsaWJmaXJtL01ha2Vm aWxlCi0tLSBsaWJmaXJtLm9yaWcvTWFrZWZpbGUJMjAwOS0wMS0yOSAwMDox ODowOS4yOTMzMDU1NzIgLTA1MDAKKysrIGxpYmZpcm0vTWFrZWZpbGUJMjAw OS0wMS0yOSAwMDo0MDoyNi44MjI2NDc0MzAgLTA1MDAKQEAgLTYsNyArNiw3 IEBACiAjCiAKIFBPUlROQU1FPQlsaWJmaXJtCi1QT1JUVkVSU0lPTj0JMS4x NS4wCitQT1JUVkVSU0lPTj0JMS4xNi4wCiBDQVRFR09SSUVTPQlkZXZlbCBs YW5nCiBNQVNURVJfU0lURVM9CSR7TUFTVEVSX1NJVEVfU09VUkNFRk9SR0V9 CiBNQVNURVJfU0lURV9TVUJESVI9CSR7UE9SVE5BTUV9CmRpZmYgLXJ1TiBs aWJmaXJtLm9yaWcvZGlzdGluZm8gbGliZmlybS9kaXN0aW5mbwotLS0gbGli ZmlybS5vcmlnL2Rpc3RpbmZvCTIwMDktMDEtMjkgMDA6MTg6MDkuMjk3Mjk1 NDY1IC0wNTAwCisrKyBsaWJmaXJtL2Rpc3RpbmZvCTIwMDktMDEtMjkgMDA6 NDA6MjYuODIzNjQ2NDM5IC0wNTAwCkBAIC0xLDMgKzEsMyBAQAotTUQ1IChs aWJmaXJtLTEuMTUuMC50YXIuYnoyKSA9IDNjNzhhMmU3NTBmODZhZjdlOWIx Y2I4MmZkNjliZWM0Ci1TSEEyNTYgKGxpYmZpcm0tMS4xNS4wLnRhci5iejIp ID0gNGRkYTA4MTBjZDdkMjUzNDkzMmE0MTNjNmFmMzE4OTAyNjllY2FkMmEy YjFhNTVmMTdlNTFjNjcwOTg5MWE4OAotU0laRSAobGliZmlybS0xLjE1LjAu dGFyLmJ6MikgPSAxNTI3NzQ0CitNRDUgKGxpYmZpcm0tMS4xNi4wLnRhci5i ejIpID0gYTY1ZjY3ZTRmNzcxZTVmNDQ2ZDAxMzFlZjRiZTRkNWUKK1NIQTI1 NiAobGliZmlybS0xLjE2LjAudGFyLmJ6MikgPSA3NDA0MjM3ZWMzMmY0NmE2 NmUzMDk2ZTdiMTBkMThjN2RjZTVlM2FjMDA5NDBmYzVhOGIzNzE1Y2U5MmI0 MGNmCitTSVpFIChsaWJmaXJtLTEuMTYuMC50YXIuYnoyKSA9IDE1NDQ5MjMK --0-1426266860-1233211011=:67976 Content-Type: text/plain; name="cparser_098_diff.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="cparser_098_diff.txt" ZGlmZiAtcnVOIGNwYXJzZXIub3JpZy9NYWtlZmlsZSBjcGFyc2VyL01ha2Vm aWxlCi0tLSBjcGFyc2VyLm9yaWcvTWFrZWZpbGUJMjAwOS0wMS0yOSAwMDox NzoxNC4yNDA2Nzg3NzIgLTA1MDAKKysrIGNwYXJzZXIvTWFrZWZpbGUJMjAw OS0wMS0yOSAwMTowOD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