Skip to contentSkip to conversation

New: amdgpu fails compilation

Bug 201023 [email protected] 1 participant 2 messages Sep 5, 2018

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=201023

Bug ID: 201023
Summary: amdgpu fails compilation
Product: Drivers
Version: 2.5
Kernel Version: 4.18
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(DRI - non Intel)
Assignee: [email protected]
Reporter: [email protected]
Regression: No

Created attachment 278317
--> https://bugzilla.kernel.org/attachment.cgi?id=278317&action=edit
CONFIG_FORTIFY_SOURCE causes amdgpu to fail compilation

amdgpu driver (DC part) fails compilation when compiling with CONFIG_FORTIFY_SOURCE option:

In function ‘memmove’,
inlined from ‘append_entry’ at
drivers/gpu/drm/amd/amdgpu/../display/dc/basics/logger.c:258:2,
inlined from ‘dm_logger_append_va.part.5’ at
drivers/gpu/drm/amd/amdgpu/../display/dc/basics/logger.c:349:4:
./include/linux/string.h:356:4: error: call to ‘__read_overflow2’ declared with attribute error: detected read beyond size of object passed as 2nd parameter

    __read_overflow2();
    ^~~~~~~~~~~~~~~~~~

I have attached a patch which resolves this problem.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 201023] amdgpu fails compilation

https://bugzilla.kernel.org/show_bug.cgi?id=201023

--- Comment #1 from Michel Dänzer ([email protected]) --- Please send the patch to the [email protected] mailing list for review.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel