#36385 closed update (fixed)
Update: cloog 0.17.0
Reported by: | manphiz@… | Owned by: | adfernandes (Andrew Fernandes) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | manphiz@… |
Port: | cloog |
Description
The attached patch updates cloog to 0.17.0, which is required for latest gcc trunk. Tested with +universal. Please review.
Attachments (1)
Change History (7)
comment:2 Changed 12 years ago by manphiz@…
Replying to manphiz@…:
As a result, older gcc, at least gcc47, will failed to detect this version during configure. I am trying to build gcc47 with "--disable-cloog-version-check", and will report back.
Building gcc47 against cloog 0.17.0 with "--disable-cloog-version-check" was successful. I just created ticket #36395 requesting gcc47 upgrade.
comment:3 Changed 12 years ago by mf2k (Frank Schima)
Keywords: | haspatch added |
---|---|
Owner: | changed from macports-tickets@… to adfernandes@… |
Version: | 2.1.2 |
In the future, please Cc the port maintainer(s).
comment:4 Changed 12 years ago by mf2k (Frank Schima)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:5 Changed 12 years ago by gnw3
Replying to manphiz@…:
The attached patch updates cloog to 0.17.0, which is required for latest gcc trunk. Tested with +universal. Please review.
cloog-0.17.0 causes problems for gcc46
gcc-mp-4.6 -v -o t-gcc-mp-4.6 t.c Using built-in specs. COLLECT_GCC=gcc-mp-4.6 COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin10/4.6.3/lto-wrapper Target: x86_64-apple-darwin10 Configured with: ../gcc-4.6.3/configure --prefix=/opt/local --build=x86_64-apple-darwin10 --enable-languages=c,c++,objc,obj-c++,lto,fortran --libdir=/opt/local/lib/gcc46 --includedir=/opt/local/include/gcc46 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-4.6 --with-local-prefix=/opt/local --with-libiconv-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.6 --with-gxx-include-dir=/opt/local/include/gcc46/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-ppl=/opt/local --with-cloog=/opt/local --enable-cloog-backend=isl --enable-stage1-checking --enable-lto --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket --disable-ppl-version-check --with-pkgversion='MacPorts gcc46 4.6.3_7+universal' Thread model: posix gcc version 4.6.3 (MacPorts gcc46 4.6.3_7+universal) COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.6.8' '-v' '-o' 't-gcc-mp-4.6' '-mtune=core2' /opt/local/libexec/gcc/x86_64-apple-darwin10/4.6.3/cc1 -quiet -v -D__DYNAMIC__ t.c -fPIC -quiet -dumpbase t.c -mmacosx-version-min=10.6.8 -mtune=core2 -auxbase t -version -o /Users/gwhite/tmp/cccnH3FB.s dyld: Library not loaded: /opt/local/lib/libcloog-isl.2.dylib Referenced from: /opt/local/libexec/gcc/x86_64-apple-darwin10/4.6.3/cc1 Reason: image not found gcc-mp-4.6: internal compiler error: Trace/BPT trap (program cc1) Please submit a full bug report, with preprocessed source if appropriate. See <https://trac.macports.org/newticket> for instructions. make: *** [t-gcc-mp-4.6] Error 4
macports did attempt to rebuild gcc46 but failed. I tried adding the "--disable-cloog-version-check", which allowed configure to run, but the build failed at
:info:build ../../gcc-4.6.3/gcc/graphite-clast-to-gimple.c:1370: error: <E2><80> <98>LANGUAGE_C<E2><80><99> undeclared (first use in this function)
Then I tried the patch: http://gcc.gnu.org/ml/gcc-help/2012-04/msg00184/gcc-4.6-cloog_lang_c.patch and was able to complete the install.