lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zvxfg-Qpn_oO6qTh@slm.duckdns.org>
Date: Tue, 1 Oct 2024 10:45:55 -1000
From: Tejun Heo <tj@...nel.org>
To: Vishal Chourasia <vishalc@...ux.ibm.com>
Cc: David Vernet <void@...ifault.com>, Josh Don <joshdon@...gle.com>,
	Hao Luo <haoluo@...gle.com>, Barret Rhoden <brho@...gle.com>,
	linux-kernel@...r.kernel.org
Subject: Re: sched_ext: build errors when building flatcg and qmap schedulers

Hello, Vishal.

On Tue, Oct 01, 2024 at 05:08:58PM +0530, Vishal Chourasia wrote:
> Getting build error when trying to compile example schedulers in
> tools/sched_ext/* (logs shared in the end)
> 
> 
> tools/sched_ext # make -s -k
> 
> 
> git repo state
> $ git log --oneline
> e32cde8d2bd7d (HEAD -> master, origin/master, origin/HEAD) Merge tag 'sched_ext-for-6.12-rc1-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext
> 190ecde722dd0 Merge tag 'probes-fixes-v6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
> a5f24c795513f Merge tag 'vfs-6.12-rc2.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
> f801850bc263d netfs: Fix the netfs_folio tracepoint to handle NULL mapping
> 28e8c5c095ec2 netfs: Add folio_queue API documentation
> 2007d28ec0095 bcachefs: rename version -> bversion for big endian builds
> 34820304cc2cd uprobes: fix kernel info leak via "[uprobes]" vma
> 9852d85ec9d49 (tag: v6.12-rc1) Linux 6.12-rc1
> 
> 
> Adding __weak attribute seems to have fixed it and compilation completed
> with no errors.

Hmm... I don't see the failure here. Maybe toolchain difference? Anyways,
can you send the patch to add __weak?

Thanks.

-- 
tejun

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ