Re: Important packages that are broken ia64

Frank Scheiner <[email protected]> Mon, 18 Sep 2023 22:14:05 +0200
Newsgroups gmane.linux.debian.ports.ia64
Message-ID <[email protected]>
On 18.09.23 13:43, Frank Scheiner wrote:
> On 18.09.23 11:43, Frank Scheiner wrote:
>> Richard Biener suggested `-fno-var-tracking` or `-g0` as workaround and
>> both indeed workaround the problem (see [2]). I don't yet know how to
>> limit the addition of `-fno-var-tracking` to KBUILD_CFLAGS to
>> `net/ipv4/fib_semantics.c` [...]
> 
> Ok, found what I need on [1]:
> 
> ```
> $(CFLAGS_$@) specifies per-file options for $(CC). The @ part has a
> literal value which specifies the file that it is for.
> [...]
> Example:
> 
> # drivers/scsi/Makefile
> CFLAGS_aha152x.o =   -DAHA152X_STAT -DAUTOCONF
> ```
> 
> [1]:
> https://github.com/torvalds/linux/blob/master/Documentation/kbuild/makefiles.rst
> 
> I'll give that a try and if it works create a MR on [2] so kernel builds
> for ia64 can succeed with gcc-13 until that one is fixed.
> 
> [2]: https://salsa.debian.org/kernel-team/linux

Worked for me, MR is here:

https://salsa.debian.org/kernel-team/linux/-/merge_requests/852

Looking forward to new ia64 kernels for Sid.

Cheers,
Frank