You can disregard this thread... the problem was pilot error.

I understand now why the "compile" wrapper was getting used.
The probe "checking whether $CC and cc understand -c and -o together... "
 is run WITHOUT $CFLAGS.

In my case CFLAGS included an argument required to locate the compiler's
config files and consequently the probe failed.  I consider that "pilot
error" on my part and have moved the config option to the definition of CC
instead (and the problem goes away)

So, while there *may* exist some valid set of conditions under which the
current configure/build could produce the reported failure, my test did NOT
represent a valid set of conditions.

-Paul


On Sat, Aug 9, 2014 at 1:29 PM, Paul Hargrove <phhargr...@lbl.gov> wrote:

> One note regarding my report below:
>
> I have noticed that autoconf has chosen to use "$srcdir/config/compile
> xlc" instead of just "xlc" (I set CC=xlc).  I strongly suspect this is
> related, and am investigating why the compile wrapper is used.  However,
> independent of that there does seem to be some flaw in how the atomics are
> getting built on this configuration.
>
> -Paul
>
>
> On Sat, Aug 9, 2014 at 1:22 PM, Paul Hargrove <phhargr...@lbl.gov> wrote:
>
>> Building v1.8 nightly tarball with xlc-11.1 on a ppc64/linux platform:
>>
>> Making all in asm
>> make[2]: Entering directory
>> `/home/hargrov1/OMPI/openmpi-1.8-latest-bluedrop-64-xlc/BLD/opal/asm'
>>   CC       asm.lo
>> rm -f atomic-asm.S
>> ln -s "../../opal/asm/generated/atomic-local.s" atomic-asm.S
>>   CPPAS    atomic-asm.lo
>>   CCLD     libasm.la
>> ar: .libs/atomic-asm.o: No such file or directory
>>
>> The related portion of the configure output:
>>
>> *** Assembler
>> checking dependency style of
>> /home/hargrov1/OMPI/openmpi-1.8-latest-bluedrop-64-xlc/openmpi-1.8.2rc4r32480/config/compile
>> xlc... none
>> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
>> checking the name lister (/usr/bin/nm -B) interface... BSD nm
>> checking for fgrep... /bin/grep -F
>> checking if need to remove -g from CCASFLAGS... no
>> checking whether to enable smp locks... yes
>> checking if .proc/endp is needed... no
>> checking directive for setting text section... .text
>> checking directive for exporting symbols... .globl
>> checking for objdump... objdump
>> checking if .note.GNU-stack is needed... no
>> checking suffix for labels... :
>> checking prefix for global symbol labels...
>> checking prefix for lsym labels... .L
>> checking prefix for function in .type... @
>> checking if .size is needed... yes
>> checking if .align directive takes logarithmic value... yes
>> checking if PowerPC registers have r prefix... no
>> checking if
>> /home/hargrov1/OMPI/openmpi-1.8-latest-bluedrop-64-xlc/openmpi-1.8.2rc4r32480/config/compile
>> xlc supports GCC inline assembly... yes
>> checking if
>> /home/hargrov1/OMPI/openmpi-1.8-latest-bluedrop-64-xlc/openmpi-1.8.2rc4r32480/config/compile
>> xlc supports DEC inline assembly... no
>> checking if
>> /home/hargrov1/OMPI/openmpi-1.8-latest-bluedrop-64-xlc/openmpi-1.8.2rc4r32480/config/compile
>> xlc supports XLC inline assembly... no
>> checking for assembly format... default-.text-.globl-:--.L-@-1-1-0-1-0
>> checking for asssembly architecture... POWERPC64
>> checking for builtin atomics... BUILTIN_NO
>> checking for perl... perl
>> checking for pre-built assembly file... no (not in asm-data)
>> checking whether possible to generate assembly file... yes
>> checking for atomic assembly filename... atomic-local.s
>>
>> -Paul
>>
>> --
>> Paul H. Hargrove                          phhargr...@lbl.gov
>> Future Technologies Group
>> Computer and Data Sciences Department     Tel: +1-510-495-2352
>> Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900
>>
>
>
>
> --
> Paul H. Hargrove                          phhargr...@lbl.gov
> Future Technologies Group
> Computer and Data Sciences Department     Tel: +1-510-495-2352
> Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900
>



-- 
Paul H. Hargrove                          phhargr...@lbl.gov
Future Technologies Group
Computer and Data Sciences Department     Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900

Reply via email to