On Sun, Aug 9, 2009 at 5:36 PM, robert baker<robertmba...@gmail.com> wrote:
> With glibc we build the glibc shared librarys with
> -fPIC, and then we build the binaries using -fPIE
> -fstack-protector-all etc...
>
> http://www.linuxfromscratch.org/patches/hlfs/svn/gcc-4.1.2-fpie-2.patch
>
> This patch should configure gcc to pass -fPIC to all objects that are
> compiled with -shared, -nostdlib, or -nostartfiles. Did you update
> this patch, and or find a functional one for use on your current
> build?
>
> Robert Baker
>

Forgive me. I just realized that you were showing output from the gcc
bootstrap build. The same thing should apply as far as I can tell
though. The shared libraries need to be built -fPIC.

What archiecture are you building for?
-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to