bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12094: check failure on AIXv7.1 / xlc


From: Peter Rosin
Subject: bug#12094: check failure on AIXv7.1 / xlc
Date: Tue, 31 Jul 2012 18:23:47 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0

Hi Jez,

Please keep the list in CC:, or you'll be stuck with my help only.

On 2012-07-31 15:17, Jez Wain wrote:
> Peter,
> 
> Thanks for the prompt reply and well spotted, for the configuration error - 
> I'd 
> looked at it a couple of times, feeling that something was awry, but staring 
> at 
> it too intently, I couldn't spot it.
> 
> However this is not the cause of the failure.  With a corrected configure 
> command:
> 
> LDFLAGS="-L/usr/local/lib" LIBS="-lmass" CXX=xlC CC=xlc_r CFLAGS="-O2 
> -qtune=auto -qarch=auto -qcache=auto -I/usr/local/include" ./configure
> 
> The "make check" still concludes with:
> 
> ====================================
> 4 of 102 tests failed
> (4 tests were not run)
> See ./test-suite.log
> Please report to address@hidden <mailto:address@hidden>
> ====================================
> make[4]: *** [test-suite.log] Error 1
> 
> I've attached the new test-suite.log to this mail, but, to my untrained eye, 
> it 
> looks similar to the one I sent yesterday.

Yes, it's similar.  Yesterday you had this failure:

/bin/sh ./libtool --tag=CXX   --mode=compile CC=xlc_r 
-DPACKAGE_NAME=\"tagdemo\" -DPACKAGE_TARNAME=\"tagdemo\" 
-DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"tagdemo\ 1.0\" 
-DPACKAGE_BUGREPORT=\"address@hidden" -DPACKAGE_URL=\"\" -DPACKAGE=\"tagdemo\" 
-DVERSION=\"1.0\" -DLT_OBJDIR=\".libs/\" -I.  -I./../..    -c -o foo.lo foo.cpp
libtool: compile:  CC=xlc_r -DPACKAGE_NAME=\"tagdemo\" 
-DPACKAGE_TARNAME=\"tagdemo\" -DPACKAGE_VERSION=\"1.0\" 
"-DPACKAGE_STRING=\"tagdemo 1.0\"" -DPACKAGE_BUGREPORT=\"address@hidden" 
-DPACKAGE_URL=\"\" -DPACKAGE=\"tagdemo\" -DVERSION=\"1.0\" 
-DLT_OBJDIR=\".libs/\" -I. -I./../.. -c foo.cpp
./libtool[11]: -DPACKAGE_NAME="tagdemo":  not found

You told libtool that the C++ compiler is "CC=xlc_r", but that looks like
an assignment, and -DPACKAGE_NAME="tagdemo" is taken as the C++ compiler
instead.  Things go downhill quickly after that.

And now you have this failure:

/bin/sh ./libtool --tag=CXX   --mode=compile xlC -DPACKAGE_NAME=\"tagdemo\" 
-DPACKAGE_TARNAME=\"tagdemo\" -DPACKAGE_VERSION=\"1.0\" 
-DPACKAGE_STRING=\"tagdemo\ 1.0\" -DPACKAGE_BUGREPORT=\"address@hidden" 
-DPACKAGE_URL=\"\" -DPACKAGE=\"tagdemo\" -DVERSION=\"1.0\" 
-DLT_OBJDIR=\".libs/\" -I.  -I./../..    -c -o foo.lo foo.cpp
libtool: compile:  xlC -DPACKAGE_NAME=\"tagdemo\" -DPACKAGE_TARNAME=\"tagdemo\" 
-DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"tagdemo 1.0\"" 
-DPACKAGE_BUGREPORT=\"address@hidden" -DPACKAGE_URL=\"\" -DPACKAGE=\"tagdemo\" 
-DVERSION=\"1.0\" -DLT_OBJDIR=\".libs/\" -I. -I./../.. -c foo.cpp
./libtool[11]: xlC:  not found

Here, you have told libtool that the C++ compiler is "xlC", but libtool
simply cannot find that program.

So, the configure command is still not correct as you are pointing to
things that are not there (or have the wrong permissions).

Cheers,
Peter






reply via email to

[Prev in Thread] Current Thread [Next in Thread]