Thank you for your reply, Chun; unfortunately the result is the same. I now see that the Macports folks ran into the same problem with 5.9.1 in December, which remains unsolved—they’re still distributing 5.9.
Steve > On Feb 22, 2024, at 9:22 PM, Chun Tian (binghe) <binghe.l...@gmail.com> wrote: > > Try putting -ld_classic into your LD_FLAGS, i.e. > > export LD_FLAGS=-ld_classic > ./configure ... > > --Chun > > On Fri, Feb 23, 2024 at 1:09 PM Steve Arons <steve.ar...@gmail.com > <mailto:steve.ar...@gmail.com>> wrote: >> The linker fails when writing the object code: >> >> ******Writing object code****** >> /bin/sh ./libtool --tag=CC --mode=link gcc -O3 -o poly polyexport.o >> libpolymain/libpolymain.la <http://libpolymain.la/> libpolyml/libpolyml.la >> <http://libpolyml.la/> -lstdc++ >> libtool: link: gcc -O3 -o .libs/poly polyexport.o >> libpolymain/.libs/libpolymain.a libpolyml/.libs/libpolyml.dylib -lstdc++ >> ld: LINKEDIT overlap of start of LINKEDIT and symbol table in >> '/Users/susanbeningson/poly/polyml/polyexport.o' in >> '/Users/susanbeningson/poly/polyml/polyexport.o' >> clang: error: linker command failed with exit code 1 (use -v to see >> invocation) >> make[2]: *** [poly] Error 1 >> make[1]: *** [all-recursive] Error 1 >> make: *** [all] Error 2 >> >> This is clang from the Apple dev tools masquerading as gcc; is it necessary >> to use GNU gcc and the GNU bin tools? >> >> Thanks, >> Steve >> >> _______________________________________________ >> polyml mailing list >> polyml@inf.ed.ac.uk <mailto:polyml@inf.ed.ac.uk> >> http://lists.inf.ed.ac.uk/mailman/listinfo/polyml
_______________________________________________ polyml mailing list polyml@inf.ed.ac.uk http://lists.inf.ed.ac.uk/mailman/listinfo/polyml