Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAA7aPHgM6YKZuPFrhYkovqN3ed1sywpmsTyB=XuUvSzvJAGv=A@mail.gmail.com>
Date: Wed, 1 Oct 2014 15:44:30 -0400
From: stephen Turner <stephen.n.turner@...il.com>
To: musl@...ts.openwall.com
Subject: Re: converting gcc from glibc to musl

That is incorrect i gave you a bad readout. (im using debian as a host
system which is the gcc i provided)


Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/bin/../libexec/gcc/i686-pc-linux-gnu/4.6.4/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/root/targetfs --disable-nls
--disable-shared --without-headers --with-newlib --enable-languages=c
--disable-multilib --disable-bootstrap --disable-lto-plugin
Thread model: posix
gcc version 4.6.4 (GCC)
COLLECT_GCC_OPTIONS='-v' '-mtune=generic' '-march=pentiumpro'
 /bin/../libexec/gcc/i686-pc-linux-gnu/4.6.4/cc1 -quiet -v -imultilib .
-imultiarch i386-linux-gnu -iprefix
/bin/../lib/gcc/i686-pc-linux-gnu/4.6.4/ test.c -quiet -dumpbase test.c
-mtune=generic -march=pentiumpro -auxbase test -version -o /tmp/ccgaOlfi.s
GNU C (GCC) version 4.6.4 (i686-pc-linux-gnu)
compiled by GNU C version 4.7.2, GMP version 5.0.1, MPFR version 3.0.0, MPC
version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory
"/bin/../lib/gcc/i686-pc-linux-gnu/4.6.4/../../../../i686-pc-linux-gnu/include"
ignoring duplicate directory
"/bin/../lib/gcc/../../lib/gcc/i686-pc-linux-gnu/4.6.4/include"
ignoring nonexistent directory "/usr/local/include/i386-linux-gnu"
ignoring duplicate directory
"/bin/../lib/gcc/../../lib/gcc/i686-pc-linux-gnu/4.6.4/include-fixed"
ignoring nonexistent directory
"/bin/../lib/gcc/../../lib/gcc/i686-pc-linux-gnu/4.6.4/../../../../i686-pc-linux-gnu/include"
ignoring nonexistent directory "/usr/include/i386-linux-gnu"
#include "..." search starts here:
#include <...> search starts here:
 /bin/../lib/gcc/i686-pc-linux-gnu/4.6.4/include
 /bin/../lib/gcc/i686-pc-linux-gnu/4.6.4/include-fixed
 /usr/local/include
 /bin/../lib/gcc/../../include
 /usr/include
End of search list.
GNU C (GCC) version 4.6.4 (i686-pc-linux-gnu)
compiled by GNU C version 4.7.2, GMP version 5.0.1, MPFR version 3.0.0, MPC
version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 19a478f4ddb9f7b3db2807c07c0f5a7e
COLLECT_GCC_OPTIONS='-v' '-mtune=generic' '-march=pentiumpro'
 /bin/../lib/gcc/i686-pc-linux-gnu/4.6.4/../../../../i686-pc-linux-gnu/bin/as
--32 -o /tmp/ccgPcLnb.o /tmp/ccgaOlfi.s
COMPILER_PATH=/bin/../libexec/gcc/i686-pc-linux-gnu/4.6.4/:/bin/../libexec/gcc/:/bin/../lib/gcc/i686-pc-linux-gnu/4.6.4/../../../../i686-pc-linux-gnu/bin/
LIBRARY_PATH=/bin/../lib/gcc/i686-pc-linux-gnu/4.6.4/:/bin/../lib/gcc/:/bin/../lib/gcc/i686-pc-linux-gnu/4.6.4/../../../../i686-pc-linux-gnu/lib/:/bin/../lib/gcc/i686-pc-linux-gnu/4.6.4/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-mtune=generic' '-march=pentiumpro'
 /bin/../libexec/gcc/i686-pc-linux-gnu/4.6.4/collect2 --eh-frame-hdr -m
elf_i386 -dynamic-linker /lib/ld-linux.so.2
/bin/../lib/gcc/i686-pc-linux-gnu/4.6.4/../../../crt1.o
/bin/../lib/gcc/i686-pc-linux-gnu/4.6.4/../../../crti.o
/bin/../lib/gcc/i686-pc-linux-gnu/4.6.4/crtbegin.o
-L/bin/../lib/gcc/i686-pc-linux-gnu/4.6.4 -L/bin/../lib/gcc
-L/bin/../lib/gcc/i686-pc-linux-gnu/4.6.4/../../../../i686-pc-linux-gnu/lib
-L/bin/../lib/gcc/i686-pc-linux-gnu/4.6.4/../../.. /tmp/ccgPcLnb.o -lgcc
-lc -lgcc /bin/../lib/gcc/i686-pc-linux-gnu/4.6.4/crtend.o
/bin/../lib/gcc/i686-pc-linux-gnu/4.6.4/../../../crtn.o





On Wed, Oct 1, 2014 at 3:35 PM, Samuel Holland <samuel@...lland.net> wrote:

> On 10/01/2014 02:13 PM, Stephen Turner wrote:
>
>> that worked like a charm. so i have a issue with the way i built musl
>> then?  apparently dynamic doesnt work without specifying the library but
>> static is fine.
>>
>
> That means your GCC is misconfigured. It's using the glibc dynamic loader.
> From the output in your other mail, it looks like you're using your
> distribution's gcc. Is musl /usr/lib/libc.so, /lib/libc.so, or something
> else? What about libc.a?
>
>
> --
> Regards,
> Samuel Holland <samuel@...lland.net>
>

Content of type "text/html" skipped

Powered by blists - more mailing lists

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