[openfabrics-ewg] On vacation on Sep-13 till 12-Oct
vlad at dev.mellanox.co.il
vlad at dev.mellanox.co.il
Sun Sep 17 02:12:15 PDT 2006
> On 9/17/06 10:24 AM, "Michael S. Tsirkin" <mst at mellanox.co.il> wrote:
>
>> Yes, its the same issue. What Vlad's scripts do is:
>> - pass in flag to disable libcheck (this fixes configure but removes
>> -libibverbs)
>> - set environment variable to re-add -libibverbs during build
>
> What env flag are you setting, LIBS? If so, that may not be safe if
> configure adds other flags to LIBS (or may do so conditionally)...?
>
We are using AM_LDFLAGS to pass -libverbs parameter in the Makefile.
You can find this Makefile under OFED-1.1-rc5/SOURCES/openib-1.1 (just
open openib-1.1.tgz)
See an example:
libmthca: libibverbs
$(MAKE) -C $(SRC)userspace/libmthca \
AM_LDFLAGS="-L../libibverbs/src -libverbs"
@echo "Make libmthca done"
libipathverbs: libibverbs
$(MAKE) -C $(SRC)userspace/libipathverbs \
AM_LDFLAGS="-L../libibverbs/src -libverbs"
@echo "Make libipathverbs done"
libehca: libibverbs
$(MAKE) -C $(SRC)userspace/libehca \
AM_LDFLAGS="-L../libibverbs/src -libverbs"
@echo "Make libehca done"
> Just curious: this sounds like a symptom of the same reason that OMPI is
> not
> built until after OFED is installed (library paths change between building
> and installing). Is that why you're doing this for mthca and
> libipathverbs
> during the OFED build?
>
Exactly. Using this way we enable OFED RPMs building without affecting the
running environment.
>> We just added this for libipathverbs and the build is passing.
>> So we'll just do a bit more testing here and update the scripts in git
>> so that pathscale guys can do their testing.
>>
>> Quoting r. Jeff Squyres <jsquyres at cisco.com>:
>> Subject: Re: [openfabrics-ewg] On vacation on Sep-13 till 12-Oct
>>
>> Are you sure?
>>
>> We just had a similar problem with mthca.so, that the OFED branch had
>> removed the library check for libibverbs, when, in fact, mthca.so
>> actually
>> does use symbols in libibverbs. Removing the library check also removes
>> "-libverbs" from the link line when creating mthca.so. The end result
>> is
>> that any software that uses Libtool 2.0's libltdl (which Open MPI 1.2
>> will
>> do -- the SC release) will not be able to be used successfully. See
>> these
>> tickets for details:
>>
>> https://svn.open-mpi.org/trac/ompi/ticket/334
>> http://openib.org/bugzilla/show_bug.cgi?id=223
>>
>> Is this the same issue? If it is, then you don't want to remove that
>> library check -- you might want to see what Vlad/Tziporet did to fix it
>> for
>> mthca.
>>
>> If this is a different issue, ignore this mail. :-)
>>
>>
>> On 9/16/06 8:59 PM, "Michael S. Tsirkin" <mst at mellanox.co.il> wrote:
>>
>>> Quoting r. Betsy Zeller <betsy at pathscale.com>:
>>>> Subject: Re: On vacation on Sep-13 till 12-Oct
>>>>
>>>> Aviram - we've spent a fair bit of time today trying to build the OFED
>>>> package with Bryan's changes to libipathverbs. However, there appears
>>>> to
>>>> be a problem now that libipathverbs depends on libibverbs. Bryan has
>>>> filed a bug (234), currently assigned to Vlad. If you can get that
>>>> turned around by Monday, we'll build and test on Monday and Tuesday,
>>>> which would allow for RC6 on Wednesday. Note that Bryan's
>>>> libipathverbs
>>>> changes are all in SVN, so they are already available if you want to
>>>> try
>>>> an early build.
>>>>
>>>> Thanks, Betsy
>>>
>>> To answer that, build.sh needs librar to provide a configure flag
>>> --disable-libcheck which disables the dependency.
>>
>
>
> --
> Jeff Squyres
> Server Virtualization Business Unit
> Cisco Systems
>
> _______________________________________________
> openfabrics-ewg mailing list
> openfabrics-ewg at openib.org
> http://openib.org/mailman/listinfo/openfabrics-ewg
>
More information about the ewg
mailing list