We really need to update

robert baker robertmbaker at gmail.com
Sun Aug 9 15:43:28 PDT 2009

On Sun, Aug 9, 2009 at 5:36 PM, robert baker<robertmbaker at 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?

More information about the hlfs-dev mailing list