Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831971 - sys-apps/memtest86+-5.31b-r3 fails to compile: clang-13: error: unsupported argument -mx86-used-note=no to option Wa
Summary: sys-apps/memtest86+-5.31b-r3 fails to compile: clang-13: error: unsupported a...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2022-01-24 12:22 UTC by Agostino Sarubbo
Modified: 2023-05-19 12:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,43.56 KB, text/plain)
2022-01-24 12:22 UTC, Agostino Sarubbo
Details
patch1 for memtest86+ (memtest86+-5.31b-0.patch,477 bytes, patch)
2022-02-07 11:08 UTC, dieter ferdinand
Details | Diff
patch2 for memtest86+ (memtest86+-5.31b-1.patch,457 bytes, patch)
2022-02-07 11:09 UTC, dieter ferdinand
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-01-24 12:22:23 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-apps/memtest86+-5.31b-r3 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses CLANG as a compiler and LLD as a linker
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-24 12:22:26 UTC
Created attachment 763493 [details]
build.log

build log and emerge --info
Comment 2 dieter ferdinand 2022-02-07 11:08:24 UTC
Created attachment 764523 [details, diff]
patch1 for memtest86+
Comment 3 dieter ferdinand 2022-02-07 11:09:15 UTC
Created attachment 764524 [details, diff]
patch2 for memtest86+

this two patches solves the makefile problem
Comment 4 Agostino Sarubbo gentoo-dev 2022-02-07 11:17:06 UTC
Hello, thanks for the patch. I believe you can speed up the process by making a pull-request via Github.
Comment 5 Ben Kohler gentoo-dev 2022-06-29 14:55:38 UTC
We specifically added that (clang-)unsupported option to fix bug 339691, I wonder if a different option to accomplish the same thing is needed, or if clang is unaffected by that bug to begin with.