This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CLooG build error


On Thu, Jan 26, 2012 at 11:28 AM, Johannes Stezenbach <js@sig21.net> wrote:
> On Thu, Jan 26, 2012 at 10:46:06AM -0500, Chris Morgan wrote:
>>
>> I'm not sure where that configure.ac file is that you'd like me to
>> patch. Is modifying that going to get overwritten when I re-run the
>> ct-ng build?
>
> Um, you said you run latest hg, and in latest hg there is
> a configure.ac and a bootstrap script which you need to
> run to generate the configure script. ?After that you need
> to run configure, make, make install.
>
> HTH
> Johannes


Oh right. I didn't know if it was something in cloog or not.

I got past that error after rebuilding and reinstalling but again a
failure in cloog after a ct-ng clean and ct-ng build:

in.lo matrix.lo pprint.lo program.lo statement.lo version.lo  -lgmp
-lppl_c -lppl -lgmpxx -lstdc++
[ALL  ]    libtool: link: x86_64-build_unknown-linux-gnu-ar cru
.libs/libcloog.a  block.o loop.o names.o options.o clast.o domain.o
matrix.o pprint.o program.o statement.o version.o
[ALL  ]    libtool: link: x86_64-build_unknown-linux-gnu-ranlib .libs/libcloog.a
[ALL  ]    libtool: link: ( cd ".libs" && rm -f "libcloog.la" && ln -s
"../libcloog.la" "libcloog.la" )
[ALL  ]    make[1]: Leaving directory
`/home/cmorgan/ct-ng-install/bin/.build/arm-unknown-eabi/build/build-cloog-ppl'
[EXTRA]    Checking CLooG/ppl
[DEBUG]    ==> Executing: 'make' '-j2' '-s' 'check'
[ALL  ]    Making check in .
[ALL  ]    libtool: link: x86_64-build_unknown-linux-gnu-gcc -Wall
-fomit-frame-pointer -pipe -o cloog cloog.o
-L/home/cmorgan/ct-ng-install/bin/.build/arm-unknown-eabi/build/static/lib
./.libs/libcloog.a -lm
/home/cmorgan/ct-ng-install/bin/.build/arm-unknown-eabi/build/static/lib/libppl_c.a
/home/cmorgan/ct-ng-install/bin/.build/arm-unknown-eabi/build/static/lib/libppl.a
/home/cmorgan/ct-ng-install/bin/.build/arm-unknown-eabi/build/static/lib/libgmpxx.a
/home/cmorgan/ct-ng-install/bin/.build/arm-unknown-eabi/build/static/lib/libgmp.a
-lstdc++
[ALL  ]    /usr/bin/ld:
/home/cmorgan/ct-ng-install/bin/.build/arm-unknown-eabi/build/static/lib/libppl_c.a(ppl_c_implementation_common.o):
undefined reference to symbol 'fesetround@@GLIBC_2.2.5'
[ALL  ]    /usr/bin/ld: note: 'fesetround@@GLIBC_2.2.5' is defined in
DSO /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/libm.so
so try adding it to the linker command line
[ALL  ]    /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-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
[ERROR]
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing CLooG/ppl'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@172]
[ERROR]  >>        called from:
do_cloog[scripts/build/companion_libs/cloog.sh@65]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@597]
[ERROR]  >>
[ERROR]  >>  For more info on this error, look at the file: 'build.log'
[ERROR]  >>  There is a list of known issues, some with workarounds, in:
[ERROR]  >>
'/home/cmorgan/ct-ng-install/share/doc/crosstool-ng/ct-ng.hg@default-188d58cfe7cf/B
- Known issues.txt'
[ERROR]

I'm surprised these kinds of things aren't being caught earlier. Is
there no automated regression suite in crosstool-ng that builds all of
these targets on a daily basis? I'd like to help out since last time I
tried ct-ng it failed for other reasons :-)

Chris

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]