master
master-next
dev-linux
1.22
1.21
1.20
1.19
1.18
1.17
1.16
1.15
1.14
1.13
1.12
1.11
1.10
1.9
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
crosstool-ng-1.24.0
crosstool-ng-1.24.0-rc3
crosstool-ng-1.24.0-rc2
crosstool-ng-1.24.0-rc1
crosstool-ng-1.23.0
crosstool-ng-1.23.0-rc2
crosstool-ng-1.23.0-rc1
crosstool-ng-1.22.0
crosstool-ng-1.21.0
crosstool-ng-1.20.0
crosstool-ng-1.9.3
crosstool-ng-1.9.2
crosstool-ng-1.9.1
crosstool-ng-1.9.0
crosstool-ng-1.8.2
crosstool-ng-1.8.1
crosstool-ng-1.8.0
crosstool-ng-1.7.2
crosstool-ng-1.7.1
crosstool-ng-1.7.0
crosstool-ng-1.6.2
crosstool-ng-1.6.1
crosstool-ng-1.6.0
crosstool-ng-1.5.3
crosstool-ng-1.5.2
crosstool-ng-1.5.1
crosstool-ng-1.5.0
crosstool-ng-1.4.2
crosstool-ng-1.4.1
crosstool-ng-1.4.0
crosstool-ng-1.3.3
crosstool-ng-1.3.2
crosstool-ng-1.3.1
crosstool-ng-1.3.0
crosstool-ng-1.2.5
crosstool-ng-1.2.4
crosstool-ng-1.2.3
crosstool-ng-1.2.2
crosstool-ng-1.2.1
crosstool-ng-1.2.0
crosstool-ng-1.19.0
crosstool-ng-1.18.0
crosstool-ng-1.17.0
crosstool-ng-1.16.0
crosstool-ng-1.15.3
crosstool-ng-1.15.2
crosstool-ng-1.15.1
crosstool-ng-1.15.0
crosstool-ng-1.14.1
crosstool-ng-1.14.0
crosstool-ng-1.13.4
crosstool-ng-1.13.3
crosstool-ng-1.13.2
crosstool-ng-1.13.1
crosstool-ng-1.13.0
crosstool-ng-1.12.4
crosstool-ng-1.12.3
crosstool-ng-1.12.2
crosstool-ng-1.12.1
crosstool-ng-1.12.0
crosstool-ng-1.11.4
crosstool-ng-1.11.3
crosstool-ng-1.11.2
crosstool-ng-1.11.1
crosstool-ng-1.11.0
crosstool-ng-1.10.1
crosstool-ng-1.10.0
crosstool-ng-1.1.3a
crosstool-ng-1.1.3
crosstool-ng-1.1.2
crosstool-ng-1.1.1
crosstool-ng-1.1.0
crosstool-ng-1.0.0
crosstool-ng-0.3.2
crosstool-ng-0.3.1
crosstool-ng-0.3.0
crosstool-ng-0.2.2
crosstool-ng-0.2.1
crosstool-ng-0.2.0
crosstool-ng-0.1.2
crosstool-ng-0.1.1
crosstool-ng-0.1.0
crosstool-ng-0.0.5
crosstool-ng-0.0.4
crosstool-ng-0.0.3
crosstool-ng-0.0.2
crosstool-ng-0.0.1
${ noResults }
1 Commits (1.22)
Author | SHA1 | Message | Date |
---|---|---|---|
![]() |
f173e77e32 |
complibs/cloog: fix linking with libm
In Ubuntu 11.04 and 11.10, the default options for ld have changed. --no-copy-dt-needed-entries and --as-needed are now enabled by default, which causes errors like: [EXTRA] Checking CLooG/ppl [DEBUG] ==> Executing: 'make' '-j3' '-s' 'check' [ALL ] Making check in . [ALL ] config.status: creating include/cloog/cloog-config.h [ALL ] config.status: include/cloog/cloog-config.h is unchanged [ALL ] libtool: link: i686-build_pc-linux-gnu-gcc -Wall -fomit-frame-pointer -pipe -o cloog cloog.o -L/<snip>/build/static/lib ./.libs/libcloog.a -lm /<snip>/build/static/lib/libppl_c.a /<snip>/build/static/lib/libpwl.a /<snip>/build/static/lib/libppl.a /<snip>/build/static/lib/libgmpxx.a /<snip>/build/static/lib/libgmp.a -lstdc++ [ALL ] /usr/bin/ld: /<snip>/build/static/lib/libppl.a(MIP_Problem.o): undefined reference to symbol 'sqrt@@GLIBC_2.0' [ALL ] /usr/bin/ld: note: 'sqrt@@GLIBC_2.0' is defined in DSO /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/libm.so so try adding it to the linker command line [ALL ] /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/libm.so: could not read symbols: Invalid operation [ALL ] collect2: ld returned 1 exit status [ERROR] make[2]: *** [cloog] Error 1 [ERROR] make[1]: *** [check-recursive] Error 1 See: https://wiki.ubuntu.com/NattyNarwhal/ToolchainTransition This patch fixes these errors by placing '-lm' at the right place on the command line as libppl requires libm when linking cloog. Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> |
12 years ago |