tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sun2 vs. gcc48



> On Nov 21, 2014, at 7:37 AM, Chuck Silvers <chuq%chuq.com@localhost> wrote:
> 
> <diff.sun2-gcc48.1>

Unfortunately it's the wrong fix.

The problem is that -fPIC is being used to build libgcc.a when sun2 doesn't support PIC at all.  Removing that from external/gpl3/gcc/lib/libgcc/arch/m68000/defs.mk also fixes the problem.

In fact, since we have libgcc_s.so, I wonder if -fPIC should be used for building libgcc for any platform.


Home | Main Index | Thread Index | Old Index