On Jan 13, 2012, at 2:46 AM, Dave Webb wrote:

> Hi all,
> 
> On Thu, Jan 12, 2012 at 2:01 PM, David Koontz <diogra...@gmail.com> wrote:
>> You're github ghdl looks like it may not be up to date:
>> ../../untar/gcc-4.6.0/gcc/vhdl/ortho-lang.c:766: parse error: GTY must be 
>> specified before identifier
> I already did some patching for these syntax changes in my github files.
> https://github.com/davewebb8211/ghdl/
> in the 'nick' branch.
> https://github.com/davewebb8211/ghdl/commit/2646d165b2b5c01161b0e498c8b33f9ebcd54248
> 
>> Undefined symbols for architecture x86_64:
>>  "_iconv_open", referenced from:
> 
> I'm using homebrew and linking was not a problem.
> It was enough to mention -liconv and so it linked against the one in /usr/lib
> https://github.com/davewebb8211/ghdl/commit/2646d165b2b5c01161b0e498c8b33f9ebcd54248
> 
>> Once I figure out to get the right one specified (and there'll be the 
>> matching includes) I just may have linked cc1 (ghdl1) (fingers crossed).
> Have you got warning while compiling (pointer stuff?) and did you
> apply other patches?
> 
/opt/gcc-4.6.0-x86_64/bin/gcc -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings 
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute 
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings 
-Wold-style-definition -Wc++-compat  -Wno-error -DHAVE_CONFIG_H -I. -I. 
-I../../untar/gcc-4.6.0/gcc -I../../untar/gcc-4.6.0/gcc/. 
-I../../untar/gcc-4.6.0/gcc/../include -I./../intl 
-I../../untar/gcc-4.6.0/gcc/../libcpp/include -I/opt/local/include 
-I/opt/local/include  -I../../untar/gcc-4.6.0/gcc/../libdecnumber 
-I../../untar/gcc-4.6.0/gcc/../libdecnumber/dpd -I../libdecnumber    
../../untar/gcc-4.6.0/gcc/expmed.c -o expmed.o
../../untar/gcc-4.6.0/gcc/expmed.c: In function ‘init_expmed’:
../../untar/gcc-4.6.0/gcc/expmed.c:134:3: warning: array subscript is above 
array bounds [-Warray-bounds]
../../untar/gcc-4.6.0/gcc/expmed.c:141:3: warning: array subscript is above 
array bounds [-Warray-bounds]
../../untar/gcc-4.6.0/gcc/expmed.c:145:3: warning: array subscript is above 
array bounds [-Warray-bounds]
../../untar/gcc-4.6.0/gcc/expmed.c:149:3: warning: array subscript is above 
array bounds [-Warray-bounds]
../../untar/gcc-4.6.0/gcc/expmed.c:153:3: warning: array subscript is above 
array bounds [-Warray-bounds]
../../untar/gcc-4.6.0/gcc/expmed.c:157:3: warning: array subscript is above 
array bounds [-Warray-bounds]
../../untar/gcc-4.6.0/gcc/expmed.c:164:3: warning: array subscript is above 
array bounds [-Warray-bounds]
../../untar/gcc-4.6.0/gcc/expmed.c:180:3: warning: array subscript is above 
array bounds [-Warray-bounds]
../../untar/gcc-4.6.0/gcc/expmed.c:184:3: warning: array subscript is above 
array bounds [-Warray-bounds]
../../untar/gcc-4.6.0/gcc/expmed.c:188:3: warning: array subscript is above 
array bounds [-Warray-bounds]
../../untar/gcc-4.6.0/gcc/expmed.c:231:8: warning: array subscript is above 
array bounds [-Warray-bounds]
../../untar/gcc-4.6.0/gcc/expmed.c:246:8: warning: array subscript is above 
array bounds [-Warray-bounds]
../../untar/gcc-4.6.0/gcc/expmed.c:247:8: warning: array subscript is above 
array bounds [-Warray-bounds]


And :


rm -rf libbackend.a
ar rc libbackend.a insn-attrtab.o insn-automata.o insn-emit.o insn-extract.o 
insn-modes.o insn-opinit.o insn-output.o insn-peep.o insn-preds.o insn-recog.o 
insn-enums.o ggc-page.o alias.o alloc-pool.o auto-inc-dec.o bb-reorder.o 
bitmap.o bt-load.o builtins.o caller-save.o calls.o cfg.o cfganal.o cfgbuild.o 
cfgcleanup.o cfgexpand.o cfghooks.o cfglayout.o cfgloop.o cfgloopanal.o 
cfgloopmanip.o cfgrtl.o combine.o combine-stack-adj.o compare-elim.o convert.o 
coverage.o cse.o cselib.o dbxout.o dbgcnt.o dce.o ddg.o debug.o df-core.o 
df-problems.o df-scan.o dfp.o diagnostic.o dojump.o dominance.o domwalk.o 
double-int.o dse.o dwarf2asm.o dwarf2out.o ebitmap.o emit-rtl.o et-forest.o 
except.o explow.o expmed.o expr.o final.o fixed-value.o fold-const.o function.o 
fwprop.o gcse.o ggc-common.o gimple.o gimple-iterator.o gimple-fold.o 
gimple-low.o gimple-pretty-print.o gimplify.o godump.o graph.o graphds.o 
graphite.o graphite-blocking.o graphite-clast-to-gimple.o graphite-cloog-util.o 
graphite-dependences.o graphite-flattening.o graphite-interchange.o 
graphite-poly.o graphite-ppl.o graphite-scop-detection.o 
graphite-sese-to-poly.o gtype-desc.o haifa-sched.o hooks.o hwint.o ifcvt.o 
implicit-zee.o init-regs.o input.o integrate.o intl.o ira.o ira-build.o 
ira-costs.o ira-conflicts.o ira-color.o ira-emit.o ira-lives.o jump.o 
langhooks.o lcm.o lists.o loop-doloop.o loop-init.o loop-invariant.o loop-iv.o 
loop-unroll.o loop-unswitch.o lower-subreg.o lto-cgraph.o lto-streamer-in.o 
lto-streamer-out.o lto-section-in.o lto-section-out.o lto-symtab.o lto-opts.o 
lto-streamer.o lto-compress.o mcf.o mode-switching.o modulo-sched.o omega.o 
omp-low.o optabs.o options.o opts-common.o opts-global.o opts.o params.o 
passes.o plugin.o pointer-set.o postreload-gcse.o postreload.o predict.o 
pretty-print.o print-rtl.o print-tree.o profile.o real.o realmpfr.o recog.o 
reg-stack.o regcprop.o reginfo.o regmove.o regrename.o regstat.o reload.o 
reload1.o reorg.o resource.o rtl-error.o rtl.o rtlanal.o rtlhooks.o sbitmap.o 
sched-deps.o sched-ebb.o sched-rgn.o sched-vis.o sdbout.o sel-sched-ir.o 
sel-sched-dump.o sel-sched.o sese.o simplify-rtx.o sparseset.o sreal.o 
stack-ptr-mod.o statistics.o stmt.o stor-layout.o store-motion.o stringpool.o 
target-globals.o targhooks.o timevar.o toplev.o tracer.o tree-affine.o 
tree-call-cdce.o tree-cfg.o tree-cfgcleanup.o tree-chrec.o tree-complex.o 
tree-data-ref.o tree-dfa.o tree-diagnostic.o tree-dump.o tree-eh.o 
tree-emutls.o tree-if-conv.o tree-into-ssa.o tree-iterator.o 
tree-loop-distribution.o tree-nested.o tree-nrv.o tree-object-size.o 
tree-optimize.o tree-outof-ssa.o tree-parloops.o tree-phinodes.o tree-predcom.o 
tree-pretty-print.o tree-profile.o tree-scalar-evolution.o tree-sra.o 
tree-switch-conversion.o tree-ssa-address.o tree-ssa-alias.o tree-ssa-ccp.o 
tree-ssa-coalesce.o tree-ssa-copy.o tree-ssa-copyrename.o tree-ssa-dce.o 
tree-ssa-dom.o tree-ssa-dse.o tree-ssa-forwprop.o tree-ssa-ifcombine.o 
tree-ssa-live.o tree-ssa-loop-ch.o tree-ssa-loop-im.o tree-ssa-loop-ivcanon.o 
tree-ssa-loop-ivopts.o tree-ssa-loop-manip.o tree-ssa-loop-niter.o 
tree-ssa-loop-prefetch.o tree-ssa-loop-unswitch.o tree-ssa-loop.o 
tree-ssa-math-opts.o tree-ssa-operands.o tree-ssa-phiopt.o tree-ssa-phiprop.o 
tree-ssa-pre.o tree-ssa-propagate.o tree-ssa-reassoc.o tree-ssa-sccvn.o 
tree-ssa-sink.o tree-ssa-structalias.o tree-ssa-ter.o tree-ssa-threadedge.o 
tree-ssa-threadupdate.o tree-ssa-uncprop.o tree-ssa-uninit.o tree-ssa.o 
tree-ssanames.o tree-stdarg.o tree-tailcall.o tree-vect-generic.o 
tree-vect-patterns.o tree-vect-data-refs.o tree-vect-stmts.o tree-vect-loop.o 
tree-vect-loop-manip.o tree-vect-slp.o tree-vectorizer.o tree-vrp.o tree.o 
value-prof.o var-tracking.o varasm.o vec.o version.o vmsdbgout.o web.o 
xcoffout.o i386.o darwin.o host-darwin.o host-i386-darwin.o cgraph.o 
cgraphbuild.o cgraphunit.o cppbuiltin.o cppdefault.o incpath.o ipa-cp.o 
ipa-split.o ipa-inline.o ipa-prop.o ipa-pure-const.o ipa-reference.o ipa-ref.o 
ipa-struct-reorg.o ipa-type-escape.o ipa-utils.o ipa.o matrix-reorg.o prefix.o 
tree-inline.o tree-nomudflap.o varpool.o
/usr/bin/ranlib: file: libbackend.a(insn-peep.o) has no symbols
/usr/bin/ranlib: file: libbackend.a(graphite-blocking.o) has no symbols
/usr/bin/ranlib: file: libbackend.a(graphite-clast-to-gimple.o) has no symbols
/usr/bin/ranlib: file: libbackend.a(graphite-cloog-util.o) has no symbols
/usr/bin/ranlib: file: libbackend.a(graphite-dependences.o) has no symbols
/usr/bin/ranlib: file: libbackend.a(graphite-flattening.o) has no symbols
/usr/bin/ranlib: file: libbackend.a(graphite-interchange.o) has no symbols
/usr/bin/ranlib: file: libbackend.a(graphite-poly.o) has no symbols
/usr/bin/ranlib: file: libbackend.a(graphite-ppl.o) has no symbols
/usr/bin/ranlib: file: libbackend.a(graphite-scop-detection.o) has no symbols
/usr/bin/ranlib: file: libbackend.a(graphite-sese-to-poly.o) has no symbols
/usr/bin/ranlib: file: libbackend.a(hwint.o) has no symbols
/usr/bin/ranlib: file: libbackend.a(loop-doloop.o) has no symbols
/usr/bin/ranlib: file: libbackend.a(target-globals.o) has no symbols
/usr/bin/ranlib: file: libbackend.a(vmsdbgout.o) has no symbols
/usr/bin/ranlib: file: libbackend.a(xcoffout.o) has no symbols
ranlib -c libbackend.a
ranlib: file: libbackend.a(insn-peep.o) has no symbols
ranlib: file: libbackend.a(graphite-blocking.o) has no symbols
ranlib: file: libbackend.a(graphite-clast-to-gimple.o) has no symbols
ranlib: file: libbackend.a(graphite-cloog-util.o) has no symbols
ranlib: file: libbackend.a(graphite-dependences.o) has no symbols
ranlib: file: libbackend.a(graphite-flattening.o) has no symbols
ranlib: file: libbackend.a(graphite-interchange.o) has no symbols
ranlib: file: libbackend.a(graphite-poly.o) has no symbols
ranlib: file: libbackend.a(graphite-ppl.o) has no symbols
ranlib: file: libbackend.a(graphite-scop-detection.o) has no symbols
ranlib: file: libbackend.a(graphite-sese-to-poly.o) has no symbols
ranlib: file: libbackend.a(hwint.o) has no symbols
ranlib: file: libbackend.a(loop-doloop.o) has no symbols
ranlib: file: libbackend.a(target-globals.o) has no symbols
ranlib: file: libbackend.a(vmsdbgout.o) has no symbols
ranlib: file: libbackend.a(xcoffout.o) has no symbols

Which looks like unused/unsupported features.

That was it.  It may pay to use Macports recommendations as to which ld, ar, 
as, etc.  to use  (Info taken from the Portfile for gcc46 (gcc-4.6.2), a 
complaint about Macports binutils.

https://trac.macports.org/browser/trunk/dports/lang/gcc46/Portfile



_______________________________________________
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to