[bug #63287] Only use open with O_TMPFILE when supported.

2022-10-28 Thread Dmitry Goncharov
Follow-up Comment #2, bug #63287 (project make):

This failure gets especially annoying when make is building multiple targets,
because make keeps bumping into it.


$ cat makefile
all: 1.x 2.x 3.x 4.x 5.x; $(info $@)
%.x:; $(info $@)
$ 
$ 
$ ~/src/gmake/make/m64/make -Orecurse --debug=b
GNU Make 4.3.92
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Updating makefiles
Updating goal targets
 File 'all' does not exist.
   File '1.x' does not exist.
  Must remake target '1.x'.
Cannot open '/tmp' with O_TMPFILE: Operation not supported.
1.x
  Successfully remade target file '1.x'.
   File '2.x' does not exist.
  Must remake target '2.x'.
Cannot open '/tmp' with O_TMPFILE: Operation not supported.
2.x
  Successfully remade target file '2.x'.
   File '3.x' does not exist.
  Must remake target '3.x'.
Cannot open '/tmp' with O_TMPFILE: Operation not supported.
3.x
  Successfully remade target file '3.x'.
   File '4.x' does not exist.
  Must remake target '4.x'.
Cannot open '/tmp' with O_TMPFILE: Operation not supported.
4.x
  Successfully remade target file '4.x'.
   File '5.x' does not exist.
  Must remake target '5.x'.
Cannot open '/tmp' with O_TMPFILE: Operation not supported.
5.x
  Successfully remade target file '5.x'.
Must remake target 'all'.
Cannot open '/tmp' with O_TMPFILE: Operation not supported.
all
Successfully remade target file 'all'.
make: 'all' is up to date.



___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




[bug #63287] Only use open with O_TMPFILE when supported.

2022-10-28 Thread Dmitry Goncharov
Additional Item Attachment, bug #63287 (project make):

File name: sv63287.diff   Size:1 KB




___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




[bug #63287] Only use open with O_TMPFILE when supported.

2022-10-28 Thread Dmitry Goncharov
Follow-up Comment #1, bug #63287 (project make):

This patch adds a configure check to detect whether O_TMPFILE is supported by
the filesystem/kernel.
The goal is to avoid doomed syscalls and related failure logging. Users tend
to freak out on failure logging.


___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




[bug #63287] Only use open with O_TMPFILE when supported.

2022-10-28 Thread Dmitry Goncharov
URL:
  

 Summary: Only use open with O_TMPFILE when supported.
 Project: make
   Submitter: dgoncharov
   Submitted: Sat 29 Oct 2022 12:40:40 AM UTC
Severity: 3 - Normal
  Item Group: Bug
  Status: None
 Privacy: Public
 Assigned to: None
 Open/Closed: Open
 Discussion Lock: Any
   Component Version: None
Operating System: POSIX-Based
   Fixed Release: None
   Triage Status: None


___

Follow-up Comments:


---
Date: Sat 29 Oct 2022 12:40:40 AM UTC By: Dmitry Goncharov 
.







___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




Re: Question: make x86_64_defconfig

2022-10-28 Thread Paul Smith
On Fri, 2022-10-28 at 13:10 +, Durig, Burak W wrote:
> I have an A 12 based emulator I want to run, I’m following a guide
> and I’m stuck at creating the below: 
> $ x86_64_ranchu_defconfig 
> The error I keep seeing is that the default configuration can’t be
> found. I can type x86_64_defcibfug though…? 
> I’m using android-goldfish-4.4-dev from the googlesource kernel repo

Sorry but as far as I can tell this is not related to GNU make, so we
can't help you.

You will need to find a mailing list dedicated to that code you're
trying to build.  When you do find the right place, please be sure to
include all relevant information such as what operating system and
version you're using to do the build and the complete error messages
you received (please cut and paste the *exact* errors AND a few lines
prior to the error as context).

Good luck!



Question: make x86_64_defconfig

2022-10-28 Thread Durig, Burak W
Hello,

I have an A 12 based emulator I want to run, I'm following a guide and I'm 
stuck at creating the below:

$ x86_64_ranchu_defconfig

The error I keep seeing is that the default configuration can't be found. I can 
type x86_64_defcibfug though...?


I'm using android-goldfish-4.4-dev from the googlesource kernel repo

Sincerely,

Burak Durig, V-up Certified Problem Solver
Engineer 3 - Bluetooth/VR/IOP
Audio/IT

Nissan Group of North America
Phone: +1 248-488-3870
Mobile: +1 248-843-8188




[cid:image002.png@01D8EA4C.816F51C0]