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.html

Reply via email to