On Mon, 2 Jul 2012, Rainer Orth wrote: > After the move to CLooG 0.17.0/ISL 0.10, mainline fails to configure > with a static libisl: > > configure:5697: checking for version 0.10 of ISL > configure:5722: gcc -o conftest -g -O2 -I/vol/gcc/include -I/vol/gcc/include > -I/ > vol/gcc/include -I/vol/gcc/include -L/vol/gcc/lib -lisl -lisl conftest.c > >&5 > Undefined first referenced > symbol in file > isl_version /var/tmp//ccKVG1Pf.o > ld: fatal: symbol referencing errors. No output written to conftest > > In the static case, -lisl needs to be added after conftest.c, not > before. The following patch does just that by moving -lisl to LIBS. > > It allowed a i386-pc-solaris2.10 bootstrap to finish without > regressions. > > Ok for mainline?
Yes. Thanks, Richard. > Rainer > > > 2012-07-02 Rainer Orth <r...@cebitec.uni-bielefeld.de> > > toplevel: > * configure: Regenerate. > > config: > * isl.m4 (ISL_CHECK_VERSION): Add -lisl to LIBS, not LDFLAGS. > > -- Richard Guenther <rguent...@suse.de> SUSE / SUSE Labs SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746 GF: Jeff Hawn, Jennifer Guild, Felix Imend