Re: 'posix_spawnp' error in build

2023-12-29 Thread Dave Blanchard
On Mon, 25 Dec 2023 10:28:14 -0600
Segher Boessenkool  wrote:

> That is wrong.  Build dir as a subdir of the source dir is not
> supported.  It might work in many cases, but that does not mean it is
> okay to do.

Works perfectly fine on every version of GCC I've used, from 5 to 12, and I've 
done this countless times in various configurations. 

If there is any kind of problem here, GCC needs to fix its junk build process, 
instead of being the one package on the planet requiring some absurd 
out-of-directory build.

> I don't know if that is one of the weird problems caused by this.  Easy
> enough to find out.  First "make distclean", and then "git status".
> 
> The error message says that the newly compiled compiler driver ("xgcc",
> which will be insbtalled as just "gcc" eventually) cannot execute the
> newly compiled actual C++ compiler ("cc1plus"), not from the place it
> thinks it put it, anyway.

It's GNU software, so go figure. 

A mysterious "No such file or directory" error here can also indicate the 
binary isn't finding the libc loader for some reason, due to bad rpath or some 
such. Use 'readelf -a' to ensure the C library loader path is correct.

Dave


gcc-12-20231229 is now available

2023-12-29 Thread GCC Administrator via Gcc
Snapshot gcc-12-20231229 is now available on
  https://gcc.gnu.org/pub/gcc/snapshots/12-20231229/
and on various mirrors, see https://gcc.gnu.org/mirrors.html for details.

This snapshot has been generated from the GCC 12 git branch
with the following options: git://gcc.gnu.org/git/gcc.git branch 
releases/gcc-12 revision f87a73cf8399bd4e482d92d7b5c8c242c161201c

You'll find:

 gcc-12-20231229.tar.xz   Complete GCC

  SHA256=d594b139ad524076d2c753168a1fe4bb9b9c2a91b2175ba5fa687fa31beda999
  SHA1=8d7e4a2e89db82de9ba35c0de6021da9155b8903

Diffs from 12-20231222 are available in the diffs/ subdirectory.

When a particular snapshot is ready for public consumption the LATEST-12
link is updated and a message is sent to the gcc list.  Please do not use
a snapshot before it has been announced that way.