Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: curl-7.85.0 fails test 831 on Solaris 11.3 SPARCv9
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Dennis Clarke via curl-library <curl-library_at_lists.haxx.se>
Date: Wed, 7 Sep 2022 20:40:30 -0400
On 9/7/22 19:59, Dan Fandrich via curl-library wrote:
> On Wed, Sep 07, 2022 at 07:28:32PM -0400, Dennis Clarke via curl-library
> wrote:
>> The LD_PRELOAD borks things up badly :
>>
>> s$
>> s$
>> LD_PRELOAD=/opt/bw/build/curl-7.85.0_sunos5.10_sparcv9_sslv3.003/tests/libtest/.libs/libhostname.so
>>
>> /usr/xpg4/bin/sed -e 's/foo/bar/'
>> ld.so.1: sed: fatal:
>> /opt/bw/build/curl-7.85.0_sunos5.10_sparcv9_sslv3.003/tests/libtest/.libs/libhostname.so:
>>
>> wrong ELF class: ELFCLASS64
>
> libhostname.so is built as part of the test suite and not as part of the
> rest of curl, and it sounds like it's not being built appropriately for
> the host. Can you take a look at the logs to see what the difference is?
> I would try configuring without the --build and --target options.
I will keep digging. However by using a 64-bit GNU sed and manually
un-borking the libtool and trying to un-bork all the Makefile's to stop
mangling my CFLAGS I see :
TESTDONE: 1528 tests were considered during 717 seconds.
TESTDONE: 1265 tests out of 1265 reported OK: 100%
Not really a stable process yet.. I am working on it.
Date: Wed, 7 Sep 2022 20:40:30 -0400
On 9/7/22 19:59, Dan Fandrich via curl-library wrote:
> On Wed, Sep 07, 2022 at 07:28:32PM -0400, Dennis Clarke via curl-library
> wrote:
>> The LD_PRELOAD borks things up badly :
>>
>> s$
>> s$
>> LD_PRELOAD=/opt/bw/build/curl-7.85.0_sunos5.10_sparcv9_sslv3.003/tests/libtest/.libs/libhostname.so
>>
>> /usr/xpg4/bin/sed -e 's/foo/bar/'
>> ld.so.1: sed: fatal:
>> /opt/bw/build/curl-7.85.0_sunos5.10_sparcv9_sslv3.003/tests/libtest/.libs/libhostname.so:
>>
>> wrong ELF class: ELFCLASS64
>
> libhostname.so is built as part of the test suite and not as part of the
> rest of curl, and it sounds like it's not being built appropriately for
> the host. Can you take a look at the logs to see what the difference is?
> I would try configuring without the --build and --target options.
I will keep digging. However by using a 64-bit GNU sed and manually
un-borking the libtool and trying to un-bork all the Makefile's to stop
mangling my CFLAGS I see :
TESTDONE: 1528 tests were considered during 717 seconds.
TESTDONE: 1265 tests out of 1265 reported OK: 100%
Not really a stable process yet.. I am working on it.
-- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional -- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2022-09-08