Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 729426 - sys-boot/syslinux-6.04_pre1-r2: fails to compile: fatal error: 'stdarg.h' file not found / clang-10: error: unsupported option '--print-libgcc'
Summary: sys-boot/syslinux-6.04_pre1-r2: fails to compile: fatal error: 'stdarg.h' fil...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords: PullRequest
: 874579 881001 (view as bug list)
Depends on:
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2020-06-24 11:21 UTC by Agostino Sarubbo
Modified: 2025-04-07 04:44 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,584.21 KB, text/plain)
2020-06-24 11:22 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 2020-06-24 11:21:54 UTC
@@This is an auto-filed bug@@
Feel free to change the summary at your convenience.

Issue: sys-boot/syslinux fails to compile.
Discovered on: amd64

NOTE:
If yout think this issue is related to clang/llvm toolchain, please block bug 408963. If you need further logs, feel free to ask.
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-24 11:22:00 UTC
Created attachment 646034 [details]
build.log

build log and emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-17 15:05:09 UTC Comment hidden (obsolete)
Comment 3 Agostino Sarubbo gentoo-dev 2022-01-17 15:12:18 UTC Comment hidden (obsolete)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-24 23:52:33 UTC
See also https://bugs.chromium.org/p/chromium/issues/detail?id=475978.
Comment 5 Zhixu Liu 2025-03-24 01:58:16 UTC
*** Bug 874579 has been marked as a duplicate of this bug. ***
Comment 6 Zhixu Liu 2025-03-24 01:58:41 UTC
*** Bug 881001 has been marked as a duplicate of this bug. ***
Comment 7 Larry the Git Cow gentoo-dev 2025-04-07 04:33:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ccbf8da63d65ee79093406bde2a132490828bbe

commit 2ccbf8da63d65ee79093406bde2a132490828bbe
Author:     Z. Liu <zhixu.liu@gmail.com>
AuthorDate: 2025-03-21 03:47:56 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-04-07 04:33:27 +0000

    sys-boot/syslinux: fix pkgcheck warning & force gcc
    
    '#include_next <stdarg.h>' can be fixed by append
    '-I/usr/lib/clang/19/include', but gcc only option is used elsewhere,
    for example '--print-libgcc' is used in mk/{elf,embedded}.mk:
    
    > LIBGCC    := $(shell $(CC) $(GCCOPT) --print-libgcc)
    
    Closes: https://bugs.gentoo.org/729426
    Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/41256
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-boot/syslinux/syslinux-6.04_pre1-r5.ebuild | 17 ++++++++++++++---
 sys-boot/syslinux/syslinux-6.04_pre3-r1.ebuild | 16 +++++++++++++---
 2 files changed, 27 insertions(+), 6 deletions(-)