unstable11x: libiconv broken since a long time

Steffen Nurpmeso steffen at sdaoden.eu
Fri Dec 20 22:05:46 CET 2019


Hello Dagobert.

Dagobert Michelsen wrote in <AB6AD545-AA3D-4D53-8437-55E8C1276329 at opencs\
w.org>:
 |Am 20.12.2019 um 20:35 schrieb Steffen Nurpmeso <steffen at sdaoden.eu>:
 |> On unstable11x i see the following error
 |> 
 |>  ld: fatal: file /opt/csw/lib/libiconv.so: wrong ELF class: ELFCLASS32
 |>  collect2: error: ld returned 1 exit status
 |>  *** Error code 1
 |> 
 |> since some months when using /usr/ccs/bin/gcc.
 ...
 |This usually happens when you try to build 64 bit binaries and link \
 |to the 32 bit lib.

Hmm, we are not specific with -march or so.  We just test some
standard compiler and linker flags and do it.

 |Please check linker pathes if they append /64 for the correct libs. \
 |If that doesn’t help
 |please post a reproducible testcase.

Cannot log in at the moment :-)
But in tmux history :-) i have

  /usr/ccs/bin/gcc -Dmx_SOURCE -I./ -I/home/sdaoden/src/nail.git/include -I/home/sdaoden/src/nail.git/.obj -I/home/sdaoden/src/nail.git/include/ -I/home/sdaoden/src/nail.git/src/ -I/opt/csw/include -I/usr/xpg4/include -I/home/sdaoden/usr-unstable11x-sunos-i86pc/include -std=c89 -O -g -W -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Winit-self -Wmissing-prototypes -Wshadow -Wunused -Wwrite-strings -Wno-long-long -pedantic -fno-unwind-tables -fno-asynchronous-unwind-tables -fstrict-aliasing -fstrict-overflow -Wstrict-overflow=5 -Wl,--as-needed -Wl,-rpath=/opt/csw/lib -Wl,-rpath=/usr/xpg4/lib -Wl,-rpath=/home/sdaoden/usr-unstable11x-sunos-i86pc/lib -o .obj/___tmp126808 .obj/___tmp126808.c -L/opt/csw/lib -L/usr/xpg4/lib -L/home/sdaoden/usr-unstable11x-sunos-i86pc/lib                           -liconv

Reproducable should thus be to log into my account

  cd src/nail.git
  git fetch
  git co -B next origin/next
  make devel

which should stop with the above in .obj/mk-config.log, i think.

A nice Christmas time!

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)


More information about the buildfarm mailing list