emacs-devel
[Top][All Lists]
Advanced

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

Re: master 37889523278: Add new `swap` macro and use it


From: Po Lu
Subject: Re: master 37889523278: Add new `swap` macro and use it
Date: Sat, 27 Jan 2024 10:58:32 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Gregory Heytings <gregory@heytings.org> writes:

> That would have mattered only if the compiler had produced a
> non-working build.  It cannot even create the first object file.

The errors in lisp.h are caused by your building Emacs with 4-byte
longs, hence "CPU".  Emacs cannot build on Sun compilers without
`-xarch=generic64 -xc99 -D__STDC__=1', and in the case of Sun C 5.8,
patches 121015-07 (sparc) or 121016-08 (Intel), which address code
generation errors concerning bitfields.  There are no Solaris 10 32-bit
kernels available for SPARC, so it is reasonable to expect Emacs to be
built with 8-byte longs.

Considering that you downloaded Sun C from the Internet, it is probably:

$ /opt/SUNWspro/bin/cc -V

cc: Sun C 5.8 2005/10/13

that is 4 years out of date.  Install:

$ /opt/SUNWspro/bin/cc -V
cc: Sun C 5.8 Patch 121015-07 2009/04/22

with:

# smpatch -G -i 121015-07

Talk about presumption!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]