Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 19 May 2015 17:51:24 -0400
From: John Mudd <johnbmudd@...il.com>
To: musl <musl@...ts.openwall.com>
Cc: John Mudd <johnbmudd@...il.com>
Subject: musl xclock?

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

Content of type "text/html" skipped

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.