Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 16126] New: recode fails to build against musl

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 16126] New: recode fails to build against musl
  • Date: Wed, 14 Aug 2019 13:34:59 +0000

Bug ID 16126
Summary recode fails to build against musl
Product Codex
Version test grimoire
Hardware x86
OS Linux
Status NEW
Severity normal
Priority P2
Component devel
Assignee sm-grimoire-bugs AT lists.ibiblio.org
Reporter ismael AT iodev.co.uk
Classification Unclassified

...
libtool: link: ranlib .libs/librecode.a
libtool: link: rm -fr .libs/librecode.lax
libtool: link: ( cd ".libs" && rm -f "librecode.la" && ln -s "../librecode.la"
"librecode.la" )
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -march=native -mtune=native
-m64 -pipe -DPIC -fPIC -ffast-math -funroll-loops -Os  -s -Wl,--as-needed -o
recode main.o mixed.o librecode.la /usr/lib/libiconv.so
libtool: link: gcc -march=native -mtune=native -m64 -pipe -DPIC -fPIC
-ffast-math -funroll-loops -Os -s -Wl,--as-needed -o .libs/recode main.o
mixed.o /usr/lib/libiconv.so  ./.libs/librecode.so
/usr/bin/ld: ./.libs/librecode.so: undefined reference to `libiconv_open'
/usr/bin/ld: ./.libs/librecode.so: undefined reference to `libiconv_close'
/usr/bin/ld: ./.libs/librecode.so: undefined reference to `libiconv'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1647: recode] Error 1
make[2]: Leaving directory '/usr/src/recode-3.7.1/src'
make[1]: *** [Makefile:1503: all-recursive] Error 1
make[1]: Leaving directory '/usr/src/recode-3.7.1'
make: *** [Makefile:1435: all] Error 2

The linking order is incorrect; not a problem with glibc because it's inside it
and -lc is always last.


You are receiving this mail because:
  • You are the assignee for the bug.



Archive powered by MHonArc 2.6.24.

Top of Page