Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #67808

Bug#787063: klibc: FTBFS with clang instead of gcc

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#787063: klibc: FTBFS with clang instead of gcc
Date 2020-08-21 00:50 +0200
Message-ID <AG1xD-5aV-3@gated-at.bofh.it> (permalink)
References <pv1Pt-6D3-17@gated-at.bofh.it> <pv2BR-7Rt-21@gated-at.bofh.it> <pv34R-eH-1@gated-at.bofh.it> <pv1Pt-6D3-17@gated-at.bofh.it> <pv34R-eH-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Control: tag -1 - upstream wontfix

On Thu, 28 May 2015 18:13:02 +0800 Joseph Lee <jesa7955@gmail.com> wrote:
> Hello,
> 
> I was trying to rebuild klibc with clang, not use it as libc. It failed
> because clang can not find some header files when building. I tried to fix
> this by add something in makefile.
> 
> And because of libklibc is needed by Debian to boot, I need to rebuild it
> to produce a bootable Debian.

As of version 2.0.8, it is possible to build klibc with Clang on at
least some architectures.  I don't what is the recommended way to build
Debian packages with a non-default compiler, so I haven't tested
whether that will now work.

If you still care about this, and changes are needed in the Debian
package, I am open to considering a patch.

Ben.

-- 
Ben Hutchings
Logic doesn't apply to the real world. - Marvin Minsky


Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread


Thread

Bug#787063: klibc: FTBFS with clang instead of gcc Ben Hutchings <ben@decadent.org.uk> - 2020-08-21 00:50 +0200

csiph-web