adrian-thurston / colm

The Colm Programming Language
MIT License
164 stars 31 forks source link

Universal build fails on 10.5.8: In member function 'void TableArray::stringGenerate(long long int)': error: duplicate case value #151

Open barracuda156 opened 1 year ago

barracuda156 commented 1 year ago

The build is from the latest commit in the repo, but same error occurs with 0.4.17 release.

/bin/sh ../../libtool  --tag=CXX   --mode=compile /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../../src  -I../../src/aapl -I/opt/local/include  -pipe -Os -arch ppc -arch ppc64 -c -o libfsm_la-actexp.lo `test -f 'actexp.cc' || echo './'`actexp.cc
libtool: compile:  /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../../src -I../../src/aapl -I/opt/local/include -pipe -Os -arch ppc -arch ppc64 -c actexp.cc  -fno-common -DPIC -o .libs/libfsm_la-actexp.o
codegen.cc: In member function 'void TableArray::stringGenerate(long long int)':
codegen.cc:211: error: duplicate case value
codegen.cc:205: error: previously used here
libtool: compile:  /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../../src -I../../src/aapl -I/opt/local/include -pipe -Os -arch ppc -arch ppc64 -c redfsm.cc -o libfsm_la-redfsm.o >/dev/null 2>&1
libtool: compile:  /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../../src -I../../src/aapl -I/opt/local/include -pipe -Os -arch ppc -arch ppc64 -c actexp.cc -o libfsm_la-actexp.o >/dev/null 2>&1
fatal error: lipo: can't open input file: /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_colm/colm/work/.tmp/cc7lW18x.out (No such file or directory)
make[3]: *** [libfsm_la-codegen.lo] Error 1
make[3]: *** Waiting for unfinished jobs....