CachyOS / CachyOS/linux-cachyos

[BUG] the latest linux-cachyos-rc kernel failed to build

Closed
#1,031 6 comments 0 reactions 2 assignees Claimed by @ptr1337 View on GitHub
bug
Dominant language
Shell
Stars
4.5k
Forks
160
Avg merge
2d 12h
Merged PRs (30d)
1

Description

### Pre-flight checklist

- [x] I have searched existing issues and this is not a duplicate.
- [x] I have read the [Contributing Guidelines](https://github.com/CachyOS/linux-cachyos/blob/master/CONTRIBUTING.md).
- [x] I have verified the issue is reproducible with the latest available CachyOS kernel.
- [x] I have tried to reproduce the issue on Arch Linux's `linux` kernel.

### Upstream / vanilla kernel check

I have not tested with a vanilla/upstream kernel

### Kernel variant

linux-cachyos-rc

### System information (cachyos-bugreport.sh)

```text
Kernel version: 7.3.0-rc1-1-cachyos-rc
CPU: Intel Core Ultra X7 358H
Architecture: x86-64
```

### Manual system information (if cachyos-bugreport.sh is unavailable)

```text

```

### Bug description

The latest `linux-cachyos-rc` kernel fail to build with this `ld.lld` messages

```
ld.lld: error: call to __read_overflow marked "dontcall-error": detected read beyond size of object (1st parameter)
make[6]: *** [scripts/Makefile.build:510: drivers/gpu/drm/gud/gud.o] Error 1
make[5]: *** [scripts/Makefile.build:551: drivers/gpu/drm/gud] Error 2
make[4]: *** [scripts/Makefile.build:551: drivers/gpu/drm] Error 2
make[3]: *** [scripts/Makefile.build:551: drivers/gpu] Error 2
```

### Steps to reproduce

1. Build the kernel

### Expected behavior

The kernel will build successfully

### Actual behavior

Receive an error message of `ld.lld`

### Logs / stack traces

```text

```

### Additional system information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.