Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 2009 22:36:51 -0800 (PST)
From:      bf <bf2006a@yahoo.com>
To:        freebsd-ports@FreeBSD.org
Cc:        Christoph Mallon <christoph.mallon@gmx.de>
Subject:   cparser 0.9.8 / libfirm 1.16.0
Message-ID:  <995970.67976.qm@web39103.mail.mud.yahoo.com>

next in thread | raw e-mail | index | archive | help
--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
aWxlCi0tLSBjcGFyc2VyLm9yaWcvTWFrZWZpbGUJMjAwOS0wMS0yOSA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NDQ0ZWExMjNiNzdkZGRmMGVhODI4ODZlNDY2OQorU0la
RSAoY3BhcnNlci0wLjkuOC50YXIuYnoyKSA9IDIwMzUzMQo=

--0-1426266860-1233211011=:67976--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?995970.67976.qm>