Re: HEADS UP: plan to switch many ports over to GCC 12 soon

Jason Bacon <[email protected]>
Newsgroups gmane.os.netbsd.devel.toolchain,gmane.os.netbsd.devel.pkgsrc.user
Message-ID <[email protected]>
On 6/17/24 06:58, Jason Bacon wrote:
> On 6/16/24 16:59, Thomas Klausner wrote:
>> On Sun, Jun 16, 2024 at 06:40:22AM +1000, Matthew Green wrote:
>>> enjoy and send-pr or email tech-toolchain@ for any issues.
> 
> gcc12 still doesn't build on macOS.
> 
> I added wip/gcc12 with some patches adam@ pointed out, but he also
> reported that the NetBSD build fails with these patches.  They are all
> C/C++ code patches, so it should be easy enough to limit them with
> 
> #if defined(__APPLE__)
> 
> if they are causing problems.
> 
> The added patches are:
> 
> patch-gcc_system.h
> patch-libcc1_libcc1plugin.cc
> patch-libcc1_libcp1plugin.cc
> 
> -- 
> Life is a game.  Play hard.  Play fair.  Have fun.
> 

That should have read:

gcc12 still doesn't build on macOS ... with the latest Xcode.

It may still work with older Xcode, though I haven't tried this.

-- 
Life is a game.  Play hard.  Play fair.  Have fun.
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.