Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 889842 - net-libs/xdp-tools-1.2.8 fails to compile (DASH-SYSTEM): error: <unknown>:0:0: in function xsk_def_prog i32 (ptr): A call to built-in function __stack_chk_fail is not supported
Summary: net-libs/xdp-tools-1.2.8 fails to compile (DASH-SYSTEM): error: <unknown>:0:0...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason A. Donenfeld
URL:
Whiteboard:
Keywords: PullRequest
: 889850 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-01-05 15:43 UTC by Agostino Sarubbo
Modified: 2023-03-05 11:19 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,55.93 KB, text/plain)
2023-01-05 15:43 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-01-05 15:43:11 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-libs/xdp-tools-1.2.8 fails to compile (DASH-SYSTEM).
Discovered on: amd64 (internal ref: dash_tinderbox)

NOTE:
(DASH-SYSTEM) in the summary means that the bug was found on a machine that runs /bin/sh as dash but this bug MAY or MAY NOT BE related to dash.
Comment 1 Agostino Sarubbo gentoo-dev 2023-01-05 15:43:13 UTC
Created attachment 847330 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-26 17:49:43 UTC
*** Bug 889850 has been marked as a duplicate of this bug. ***
Comment 3 Holger Hoffstätte 2023-03-04 19:29:12 UTC
I'm working with upstream to fix this and some other issues, and will then post a PR.
Comment 4 Holger Hoffstätte 2023-03-05 10:13:09 UTC
Upstream has been fixed, so the linked PR does a simple update to the latest release with contributed build fixes.
There's no need to keep the previous release since it didn't build & was not marked stable for any arches.
Comment 5 Larry the Git Cow gentoo-dev 2023-03-05 11:19:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8eea55ff639c63ce54f5feba1d3300e40d4814b9

commit 8eea55ff639c63ce54f5feba1d3300e40d4814b9
Author:     Holger Hoffstätte <holger@applied-asynchrony.com>
AuthorDate: 2023-03-04 15:16:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-03-05 11:19:19 +0000

    net-libs/xdp-tools: bump to 1.3.1 & add build fixes
    
    - fix configure to properly detect libbpf features
    - fix clang build with default-enabled stack protector
    
    Closes: https://bugs.gentoo.org/889842
    Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
    Closes: https://github.com/gentoo/gentoo/pull/29926
    Signed-off-by: Sam James <sam@gentoo.org>

 net-libs/xdp-tools/Manifest                        |  2 +-
 .../files/1.3.1-disable-stack-protector.patch      | 32 +++++++++++++++++++
 .../files/1.3.1-fix-btf__type_cnt-detection.patch  | 36 ++++++++++++++++++++++
 ...p-tools-1.2.8.ebuild => xdp-tools-1.3.1.ebuild} |  7 ++++-
 4 files changed, 75 insertions(+), 2 deletions(-)