From: John Mudd <johnbmudd@gmail.com>
To: musl <musl@lists.openwall.com>
Cc: John Mudd <johnbmudd@gmail.com>
Subject: musl xclock?
Date: Tue, 19 May 2015 17:51:24 -0400 [thread overview]
Message-ID: <CAGDMk9H+9af2LqN_O4UBrezYu9+-HsoG8kbWyM6uPabpXJoDpg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 5859 bytes --]
I'm trying to build a musl version of xclock. If I can build xclock then I
hope to be able to build my app which is more complicated. I'm getting the
following error.
/usr/bin/ld: h_errno: TLS definition in //lib/i386-linux-gnu/libc.so.6
section .tbss mismatches non-TLS definition in
/home/mudd/musl/musl-1.1.8.install/lib/libc.so section .bss
Here's what the make was trying to execute. It looks good to me. Do you see
a problem?
cd /home/mudd/musl/xclock-1.0.7
gcc \
--sysroot=/home/mudd/musl/musl-1.1.8.install/ \
-specs /home/mudd/musl/musl-1.1.8.install/lib/musl-gcc.specs \
-O3 \
-fno-stack-protector \
-std=gnu99 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
-Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement
-Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn
-Wmissing-format-attribute -Wredundant-decls -Werror=implicit
-Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces
-Werror=sequence-point -Werror=return-type -Werror=trigraphs
-Werror=array-bounds -Werror=write-strings -Werror=address
-Werror=int-to-pointer-cast -Werror=pointer-to-int-cast
-fno-strict-aliasing \
-I/home/mudd/musl/autoconf-2.69.install/include \
-I/home/mudd/musl/automake-1.15.install/include \
-I/home/mudd/musl/bzip2-1.0.6.install/include \
-I/home/mudd/musl/curl-master.install/include \
-I/home/mudd/musl/fontconfig-2.11.93.install/include \
-I/home/mudd/musl/freetype-2.5.5.install/include \
-I/home/mudd/musl/freetype-2.5.5.install/include/freetype2 \
-I/home/mudd/musl/inputproto-2.3.install/include \
-I/home/mudd/musl/kbproto-1.0.6.install/include \
-I/home/mudd/musl/krb5-1.13.1.install/include \
-I/home/mudd/musl/libICE-1.0.9.install/include \
-I/home/mudd/musl/libpthread-stubs-0.1.install/include \
-I/home/mudd/musl/libSM-1.2.2.install/include \
-I/home/mudd/musl/libtool-2.4.install/include \
-I/home/mudd/musl/libX11-1.6.3.install/include \
-I/home/mudd/musl/libXau-1.0.8.install/include \
-I/home/mudd/musl/libXaw-1.0.12.install/include \
-I/home/mudd/musl/libxcb-1.11.install/include \
-I/home/mudd/musl/libXext-1.3.3.install/include \
-I/home/mudd/musl/libXft-2.3.2.install/include \
-I/home/mudd/musl/libxkbfile-1.0.8.install/include \
-I/home/mudd/musl/libxml2-2.9.2.install/include \
-I/home/mudd/musl/libxml2-2.9.2.install/include/libxml2 \
-I/home/mudd/musl/libxml2-2.9.2.install/include/libxml2/ \
-I/home/mudd/musl/libXmu-1.1.2.install/include \
-I/home/mudd/musl/libXpm-3.5.11.install/include \
-I/home/mudd/musl/libXrender-0.9.8.install/include \
-I/home/mudd/musl/libxslt-1.1.28.install/include \
-I/home/mudd/musl/libXt-1.1.4.install/include \
-I/home/mudd/musl/musl-1.1.8.install/include \
-I/home/mudd/musl/ncurses-5.9.install/include \
-I/home/mudd/musl/ncurses-5.9.install/include/ncurses/ \
-I/home/mudd/musl/openssl-1.0.2a.install/include \
-I/home/mudd/musl/postgresql-9.4.1.install/include \
-I/home/mudd/musl/Python-2.7.9.install/include \
-I/home/mudd/musl/Python-2.7.9.install/include/python2.7/ \
-I/home/mudd/musl/readline-6.3.install/include \
-I/home/mudd/musl/renderproto-0.11.install/include \
-I/home/mudd/musl/sqlite-autoconf-3080803.install/include \
-I/home/mudd/musl/util-macros-1.19.0.install/include \
-I/home/mudd/musl/xcb-proto-1.11.install/include \
-I/home/mudd/musl/xextproto-7.3.0.install/include \
-I/home/mudd/musl/xproto-7.0.27.install/include \
-I/home/mudd/musl/xtrans-1.3.5.install/include \
-I/home/mudd/musl/zlib-1.2.8.install/include \
-L/home/mudd/musl/autoconf-2.69.install/lib \
-L/home/mudd/musl/automake-1.15.install/lib \
-L/home/mudd/musl/bzip2-1.0.6.install/lib \
-L/home/mudd/musl/curl-master.install/lib \
-L/home/mudd/musl/fontconfig-2.11.93.install/lib \
-L/home/mudd/musl/freetype-2.5.5.install/lib \
-L/home/mudd/musl/inputproto-2.3.install/lib \
-L/home/mudd/musl/kbproto-1.0.6.install/lib \
-L/home/mudd/musl/krb5-1.13.1.install/lib \
-L/home/mudd/musl/libICE-1.0.9.install/lib \
-L/home/mudd/musl/libpthread-stubs-0.1.install/lib \
-L/home/mudd/musl/libSM-1.2.2.install/lib \
-L/home/mudd/musl/libtool-2.4.install/lib \
-L/home/mudd/musl/libX11-1.6.3.install/lib \
-L/home/mudd/musl/libXau-1.0.8.install/lib \
-L/home/mudd/musl/libXaw-1.0.12.install/lib \
-L/home/mudd/musl/libxcb-1.11.install/lib \
-L/home/mudd/musl/libXext-1.3.3.install/lib \
-L/home/mudd/musl/libXft-2.3.2.install/lib \
-L/home/mudd/musl/libxkbfile-1.0.8.install/lib \
-L/home/mudd/musl/libxml2-2.9.2.install/lib \
-L/home/mudd/musl/libXmu-1.1.2.install/lib \
-L/home/mudd/musl/libXpm-3.5.11.install/lib \
-L/home/mudd/musl/libXrender-0.9.8.install/lib \
-L/home/mudd/musl/libxslt-1.1.28.install/lib \
-L/home/mudd/musl/libXt-1.1.4.install/lib \
-L/home/mudd/musl/musl-1.1.8.install/lib \
-L/home/mudd/musl/ncurses-5.9.install/lib \
-L/home/mudd/musl/openssl-1.0.2a.install/lib \
-L/home/mudd/musl/postgresql-9.4.1.install/lib \
-L/home/mudd/musl/Python-2.7.9.install/lib \
-L/home/mudd/musl/readline-6.3.install/lib \
-L/home/mudd/musl/renderproto-0.11.install/lib \
-L/home/mudd/musl/sqlite-autoconf-3080803.install/lib \
-L/home/mudd/musl/util-macros-1.19.0.install/lib \
-L/home/mudd/musl/xcb-proto-1.11.install/lib \
-L/home/mudd/musl/xextproto-7.3.0.install/lib \
-L/home/mudd/musl/xproto-7.0.27.install/lib \
-L/home/mudd/musl/xtrans-1.3.5.install/lib \
-L/home/mudd/musl/zlib-1.2.8.install/lib \
-o xclock Clock.o xclock.o \
-lX11 \
-lXaw7 \
-lXft \
-lxkbfile \
-lXmu \
-lXrender \
-lXt
[-- Attachment #2: Type: text/html, Size: 7046 bytes --]
next reply other threads:[~2015-05-19 21:51 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-19 21:51 John Mudd [this message]
2015-05-19 22:13 ` Rich Felker
2015-05-20 15:28 ` John Mudd
2015-05-20 16:05 ` Rich Felker
2015-05-20 17:00 ` Szabolcs Nagy
2015-05-20 17:02 ` Szabolcs Nagy
2015-05-20 17:43 ` Rich Felker
2015-05-20 20:26 ` John Mudd
2015-05-20 20:47 ` John Mudd
2015-05-20 21:08 ` Szabolcs Nagy
2015-05-20 21:48 ` Szabolcs Nagy
2015-05-21 21:36 ` John Mudd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAGDMk9H+9af2LqN_O4UBrezYu9+-HsoG8kbWyM6uPabpXJoDpg@mail.gmail.com \
--to=johnbmudd@gmail.com \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).