Re: sun2 vs. gcc48

Matt Thomas <[email protected]>
Newsgroups gmane.os.netbsd.devel.toolchain,gmane.os.netbsd.ports.sun2,gmane.os.netbsd.ports.m68k
Message-ID <[email protected]>
> On Nov 21, 2014, at 7:37 AM, Chuck Silvers <[email protected]> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.