From bugzilla-daemon at bugs.sourcemage.org Wed Aug 14 09:34:59 2019
From: bugzilla-daemon at bugs.sourcemage.org (bugzilla-daemon at bugs.sourcemage.org)
Date: Wed, 14 Aug 2019 13:34:59 +0000
Subject: [SM-Grimoire-Bugs] [Bug 16126] New: recode fails to build against
musl
Message-ID:
https://bugs.sourcemage.org/show_bug.cgi?id=16126
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From bugzilla-daemon at bugs.sourcemage.org Fri Aug 16 11:08:32 2019
From: bugzilla-daemon at bugs.sourcemage.org (bugzilla-daemon at bugs.sourcemage.org)
Date: Fri, 16 Aug 2019 15:08:32 +0000
Subject: [SM-Grimoire-Bugs] [Bug 16126] recode fails to build against musl
In-Reply-To:
References:
Message-ID:
https://bugs.sourcemage.org/show_bug.cgi?id=16126
Ismael Luceno changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Ismael Luceno ---
The source of this issue is, presumably, a bug in libtool: it treats the -l
flag differently from DSO paths, and fails to order them properly.
This is not a problem with Glibc only because LIBS is empty.
Inside the Sorcery build environment, the configure script seems to guess we're
cross-compiling and fills LIBS with paths to the DSOs; then libtool puts the
local DSO _after_ libiconv.so.
As a workaround we can setup LIBS manually.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From bugzilla-daemon at bugs.sourcemage.org Fri Aug 16 11:14:24 2019
From: bugzilla-daemon at bugs.sourcemage.org (bugzilla-daemon at bugs.sourcemage.org)
Date: Fri, 16 Aug 2019 15:14:24 +0000
Subject: [SM-Grimoire-Bugs] [Bug 16122] mesa fails to compile against musl
In-Reply-To:
References:
Message-ID:
https://bugs.sourcemage.org/show_bug.cgi?id=16122
Ismael Luceno changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Ismael Luceno ---
Fixed in commit 29cc35b8d3bf4e5f0fc98f773559cff2ccd3599b.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: