Displaying 20 results from an estimated 5000 matches similar to: "[LLVMdev] clang/llvm with glibc"
2014 Sep 29
2
[LLVMdev] Compiling glibc with clang/LLVM
Hey all,
I was wondering if clang/LLVM has support to compile glibc in its entirety? The only thing I could find of recent was this thread saying the only way it could really be done is to use the dragonegg plugin with gcc...
https://groups.google.com/forum/#!topic/llvm-dev/pmZYVNTrVYQ
[LLVMdev] clang/llvm with glibc
8 posts by 5 authors
[X]
[X]
Dave Buehmann
[X]
2013 Jun 05
0
[LLVMdev] clang/llvm with glibc
Roland says the main blocker for now is support for nested functions, he
thinks the rest should be straightforward.
There was apparently a post to the glibc mailing list about this.
On Jun 5, 2013 11:37 AM, "Dave Buehmann" <db.llvm at gmail.com> wrote:
> This question has been asked occasionally with no positive responses.
>
> Has anybody had success compiling glib with
2013 Jun 05
0
[LLVMdev] clang/llvm with glibc
On Wed, Jun 05, 2013 at 12:34:41PM -0600, Dave Buehmann wrote:
> This question has been asked occasionally with no positive responses.
>
> Has anybody had success compiling glib with clang/llvm? If so, can you
> share any details?
>
> If not, are there any good libc replacements with more complete
> functionality than newlib?
It is (almost) possible to compile glibc using
2013 Jun 07
2
[LLVMdev] clang/llvm with glibc
> It is (almost) possible to compile glibc using DragonEgg -- there
> are only a handful of patches required (for LLVM and DragonEgg),
> most of which are now up for review.
>
> It builds, and most of glibc's test suite currently passes, except
> for some tests that deal with floating point arithmetic, and some
> tests which use very obscure GNU as features which I
2009 Jun 29
2
openbsd-compat/getrrsetbyname.c: answer buffer size too large for EDNS0 and glibc
Hello.
I have an issue with SSHFP lookups using "VerifyHostKeyDNS=yes" and
"options edns0" in /etc/resolv.conf (glib >= 2.6).
getrrsetbyname() calls res_query() with a maximum buffer size of 65536.
The glibc resolver truncates this value to 16 bits, reducing the query's
advertised buffer size to 0.
BIND appears to ignore it while Unbound returns a server failure.
2016 Aug 24
4
I need glibc 2.19+ for 32 bit CentOS 6.8 or CentOS7
Hello all--
Due to a proposed changeover to build machines for a project I'm
involved with, I need at least glib 2.19. Right now I have glib 2.12,
and even on CentOS7-32 bit, what I see is glib 2.14. Is a higher glib
available anywhere that might work with my current 6.8. I see I can
download it from SourceForge but I am wondering what the results might me.
I really like CentOS and would
2012 Jan 26
1
[LLVMdev] Compiling glibc with LLVM
Hi James,
I will look into the RedHat newlib library, however, we def are looking for
a solution for glibc, but maybe newlib would be a good way to go to test
our complete workflow before putting an effort to generate control flow
graphs for glibc.
btw. I did have another question, hopefully you would be able to answer,
what we are looking to do is to get the control flow graph including some
2008 Mar 21
2
glibc error ???
On a centos 4.6 box
rpm -qa | grep glib
glib-1.2.10-15
glibc-2.3.4-2.39
glibc-headers-2.3.4-2.39
glibc-common-2.3.4-2.39
dbus-glib-0.22-12.EL.9
glibc-kernheaders-2.4-9.1.100.EL
glibc-devel-2.3.4-2.39
glib2-2.4.7-1
I am getting this type of error at times on a mail server
*** glibc detected *** free(): invalid pointer: 0xbffa11b8 ***
While I am researching this more, I am wondering if the
2012 Jan 26
3
[LLVMdev] Compiling glibc with LLVM
Hi,
I read on the gentoo website http://en.gentoo-wiki.com/wiki/Llvm that glibc
cannot be compiled using llvm because of some GNU extensions which LLVM
does not support.
Has there been any success in compiling glibc using LLVM so as to get the
bytecode?
We are looking to do whole program analysis to look at control flows
including those in libc... we were hoping that we could get the control
2012 Jan 26
0
[LLVMdev] Compiling glibc with LLVM
Hi Nipun,
As you say, glibc is rather GCC -oriented. I certainly haven't tried this
myself, but have you thought of using an alternate C library such as RedHat
newlib? That can certainly be compiled by clang (we do it every night).
Cheers,
James
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On
Behalf Of Nipun Arora
Sent: 26 January 2012 15:54
To:
2015 Mar 30
3
Building a newer glibc RPM for CentOS 6 and installing into an alternate path
We have a third party shared library from a vendor that requires glib 2.15 or newer. We are using CentOS 6.6 which comes with glibc 2.12, and I know it can?t be replaced as it?s an integral part of the OS.
However, is it possible to build a glib 2.15 RPM from source to be installed in /opt/centos (or somewhere else other than /usr/lib) so that I can link the one application that requires the
2015 Mar 11
5
[LLVMdev] Customize Standard C Library Using LLVM (to support llvm backend optimization)
Purpose:
I implemented a pass on LLVM backend that changes the output format of
*ARM* assembly/binary
(e.g add a jump at the end of each basic block to eliminate fall through).
By calling:
llc -march=arm somefile.bc
it generates expected arm assembly/binary that runs properly on arm gnu
linux (I use qemu-arm and gem5 to simulate it). Now I want to do the same
thing on standard c library, but
2019 Jul 15
2
[PATCH libnbd] examples: Include an example of integrating with the glibc main loop.
** NOT WORKING **
This patch shows how to integrate libnbd and the glib main loop.
Posted mainly as a point of discussion as it doesn't quite work yet.
Rich.
2018 Dec 22
3
How to compile glibc with clang/llvm?
To whom it may concern,
Is there a way to build glibc with clang/llvm? I’m working on enabling llvm-cov for my compiler which is a totally new arch with a libc.a built from newlib. I successfully built compiler-rt but when I typed the command ` clang++ --target=xxx -fprofile-instr-generate -fcoverage-mapping foo.cc -o foo`, the linker failed because of undefined reference to
2016 Aug 25
3
I need glibc 2.19+ for 32 bit CentOS 6.8 or CentOS7
On Aug 24, 2016 5:05 PM, "Gordon Messmer" <gordon.messmer at gmail.com> wrote:
>
> On 08/24/2016 04:22 PM, Kay Schenk wrote:
>>
>> Due to a proposed changeover to build machines for a project I'm
>> involved with, I need at least glib 2.19.
>
>
> Do you know why? As in, what features or fixes are required? If not, I
think John's question
2015 Mar 31
3
Building a newer glibc RPM for CentOS 6 and installing into an alternate path
> On Mar 30, 2015, at 17:24, Patrick Flaherty <pflaherty at wsi.com> wrote:
>
> Tell your vendor you want a centos 6 version of the library, it's really
> not a huge ask, esp if you are paying them. If they say no, do a new
> install of centos 7 and run it on a different box. It's the only reasonable
> thing to do, and if you do anything else and make anyone else
2013 Jun 07
0
[LLVMdev] clang/llvm with glibc
On Fri, Jun 07, 2013 at 11:48:03AM -0400, Rafael Espíndola wrote:
> > It is (almost) possible to compile glibc using DragonEgg -- there
> > are only a handful of patches required (for LLVM and DragonEgg),
> > most of which are now up for review.
> >
> > It builds, and most of glibc's test suite currently passes, except
> > for some tests that deal with
2018 Dec 23
3
How to compile glibc with clang/llvm?
Hi.
Actually from reading the README, it seems to imply that it can be built
with Clang 6.0.0 and above now, though it does incorporate a lot of patches not
specific to Clang building so you will end up with them as well:
----------------------------------------------------------------------------
BUILDING GRTE WITH CLANG
GRTE v5 and later can also be built with clang and (optionally) lld.
LLVM
2012 Jul 10
9
[PATCH] stubdom: fix errors in newlib
# HG changeset patch
# User Olaf Hering <olaf@aepfle.de>
# Date 1341839122 -7200
# Node ID 2dd50c201ca0d3542f3589942ae9e51d33ec7509
# Parent 42f76d536b116d2ebad1b6705ae51ecd171d2581
stubdom: fix errors in newlib
rpmlint found a few code bugs in newlib, and marks them as errors after
rpm build. Add another newlib patch and apply it during stubdom build.
I: A function uses a
2013 May 22
19
Install vTPM on Xen-4.2.2
Hi,
I‘m trying to install vTPM based on Xen-4.2.2, linux-kernel 3.9.1 (Dom0)
and TPM emulator. However, I cannot find the TPM backed driver in this
version of Dom0 linux kernel. There is no CONFIG_XEN_TPMDEV_BACKEND in the
kernel config file. The config file for Dom0 is attached. Maybe it provides
some useful information.
So, how to install a Xen TPM backend driver in the Dom0 linux-kernel.