Displaying 20 results from an estimated 20000 matches similar to: "Compiling GNU C Library (glibc) with llvm"
2018 Dec 12
4
Using LLD to link against third-party libraries? How?
How can I tell CMake during the configuration step where to find my zlib installation?
________________________________
From: blubee blubeeme <gurenchan at gmail.com>
Sent: Wednesday, December 12, 2018 7:31 PM
To: Osman Zakir
Cc: llvm-dev
Subject: Re: [llvm-dev] Using LLD to link against third-party libraries? How?
I would agree with the next email from
Brian Cain
If you do not have
2018 Dec 12
3
Using LLD to link against third-party libraries? How?
So how do I get it to build libcxx and libcxxabi? I got it from the mono repo and enabled lld, clang, libcxx and libcxxabi. But I built the two main CMake targets only--all_build and install. What else do I have to do? Please let me know.
________________________________
From: Zachary Turner <zturner at google.com>
Sent: Wednesday, December 12, 2018 11:10 AM
To: blubee blubeeme
Cc: Osman
2018 Dec 12
4
Using LLD to link against third-party libraries? How?
I need them so I can build stuff using clang or clang-cl with its C++ standard libraries. To make sure that lld-link won't give errors about missing symbols from any standard libraries.
By the way, you wouldn't happen to know how to use link.exe, would you? I might need some help on that to understand how to use lld-link.exe.
________________________________
From: Zachary Turner
2018 Dec 12
2
Using LLD to link against third-party libraries? How?
I couldn't get it to build libcxx...
You need c++ and c++abi to compile c++ code.
On Wed, Dec 12, 2018, 07:01 Osman Zakir via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> LLVM on a Developer Command Prompt. The ones I want to fix first are the
> ones from Boost and Jinja2Cpp. I saw some from those as well.
>
> If there any standard library ones missing, could it be
2018 Dec 29
2
bootstrapping llvm with advanced configuration
I can build llvm and associated tools in a 1 shot go using gcc and g++ but
trying to use only gcc and bootstrap clang to build and link with libc++
and libc++abi
on the second phase of the build, the compilation fails
I have svn cloned
LLVM
CLANG
CLANG_XTRA_TOOLS
LLD
LLDB
POLLY
COMPILER_RT
OPENMP
LIBCXX
LIBCXXABI
cmake command below
cmake -DCMAKE_BUILD_TYPE=Release
-DLLVM_ENABLE_ASSERTIONS=OFF
2018 Dec 11
2
Using LLD to link against third-party libraries? How?
I add the -fuse-ld=lld flag to the compiler command line itself. And I included LLD when I built LLVM (I checked out the mono repo and built that version).
What command line arguments should I pass to LLD when I want to link against third-party libraries? That's what I'm asking.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2018 Dec 11
3
Using LLD to link against third-party libraries? How?
Are you linking with a C++ compiler? A lot of those missing symbols
look like they come from the C++ standard library.
-David
Osman Zakir via llvm-dev <llvm-dev at lists.llvm.org> writes:
> @blubee blubeeme So what do you think? Got any ideas?
> ----------------------------------------------------------------------
> From: Osman Zakir <osmanzakir90
2018 Dec 03
5
[8.0.0 Release] Release schedule
Hello everyone,
I know 7.0.1 isn't out the door yet, and 8.0.0 isn't due for a while,
so relax :-) But I would like to get the schedule decided before folks
disappear over the holidays.
According to the usual schedule, the branch would be created two weeks
into January, with the goal of shipping early March, so this is my
proposal:
- 16 January 2019: Create the 8.0.0 branch, RC1 tagged
2020 Oct 28
4
Targeting old glibc
Hi,
I wonder what is the right way to target an old glibc?
I have a machine which is up to date (glibc 2.32 and clang+lld 10.0.1).
So far I've been able to target older glibc by having a C file containing:
__asm__(".symver powf,powf at GLIBC_2.2.5");
__asm__(".symver expf,expf at GLIBC_2.2.5");
__asm__(".symver exp2f,exp2f at GLIBC_2.2.5");
2020 Oct 28
2
Targeting old glibc
On Wed, Oct 28, 2020 at 6:07 PM Fangrui Song <maskray at google.com> wrote:
>
> On 2020-10-28, Alexandre Bique via llvm-dev wrote:
> >Hi,
> >
> >I wonder what is the right way to target an old glibc?
> >
> >I have a machine which is up to date (glibc 2.32 and clang+lld 10.0.1).
> >
> >So far I've been able to target older glibc by having a
2000 Jun 26
1
Re: [vorbis] bug in glibc 2.1.2 and older
Hello,
I have solved this problem in the splay mp3 decoder with this:
In the header:
#if (__GNUC__ < 2 || ( __GNUC__ == 2 && __GNUC_MINOR__ < 91 ) )
#warning "inline code disabled! (buggy egcs version)"
#undef __NO_MATH_INLINES
#define __NO_MATH_INLINES 1
#endif
#include <math.h>
In the makefile:
CXXFLAGS=@CXXFLAGS@ -fno-strength-reduce
(Opt level is 2)
and
2018 Dec 11
2
Using LLD to link against third-party libraries? How?
I already mentioned what flag I tried. It's in the first email in this thread. And I want to link against Boost.System and the Jinja2Cpp library (the latter's documentation can be found here: https://github.com/flexferrum/Jinja2Cpp . And I also have some GUI applications using FLTK as well that I want to try to build using LLVM as well, so I'll have to know how to link against
2011 Jan 07
2
XEN on CentOS 5.5 - Cannot create VM using Local Install (grayed out)
Hello community!
I''m running into some strange problem with my CentOS while trying to
create a new VM using virt-manager. I''m connected locally and when I''m
following the wizard, at the time it asks me to select the installation
option I can only select Network Install.
I am pretty messed up ,being trying to search a whole net for last week ,but cant fix it Any idea
2005 Apr 15
3
pxelinux 2.11 unable to mount root fs
Hi,
I've been using PxeLinux to boot our Debian kernel successfully for
some time now. I recently increased the size of the ramdisk from about
484 MBs to 517 MBs and encountered the following error during bootup:
---
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 105519k
EXT3-fs: Magic mismatch, very weird!
cramfs: wrong magic
sh-2021: reiserfs_read_super: can not find
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
2007 Sep 12
5
Accidentally removed glibc & glibc-devel :: Help
Hi,
I attempted to ugprade glibc & glibc-devel and ended up removing them
entirely by accident. *idiot*
What are the steps needed to get glibc back onto my system.
Absolutely nothing is working at the moment, rpm, yum, etc. I presume
I'm going to have to boot from a rescue CD of some kind.
If someone could outline how to do this, or point me to some docs I
would be most grateful.
2008 Dec 17
2
glibc
Am having the following error:
[root at intra.sdc:rescue]$yum update glibc
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* base: mirror.silyus.net
* updates: mirror.silyus.net
* addons: centos.intergenia.de
* extras: centos.intergenia.de
Excluding Packages in global exclude list
Finished
Setting up Update Process
Resolving Dependencies
--> Running
2011 Oct 11
1
Is there a problem with C6 CR and glibc?
C6 with CR x86_64
Third time when trying to install a packet I get:
yum install samba
[...]
--> Finished Dependency Resolution
Error: Package: glibc-2.12-1.7.el6_0.5.i686 (updates)
Requires: glibc-common = 2.12-1.7.el6_0.5
Installed: glibc-common-2.12-1.25.el6_1.3.x86_64 (@cr)
glibc-common = 2.12-1.25.el6_1.3
Available:
2005 Nov 16
2
yum update - Glibc Problem
Hi,
I've just done a fresh install of Centos 4.0 on a Via C3 Based system
using the Centos DVD I downloaded a while ago.
Then install goes though fine as does running 'yum check-update'.
However when running the actual 'yum update', it downloads all the
headers but afterwards displays the following errors:-
--> Processing Dependency: glibc-common = 2.3.4-2 for package:
2009 Feb 12
4
Missing EL4 glibc update
Seeing upstream has an update for glibc
http://rhn.redhat.com/errata/RHBA-2009-0052.html
I rebuilt the glibc-2.3.4-2.41.el4_7.1.src.rpm and
it produced the following rpms :-
glibc-2.3.4-2.41.el4_7.1.i386.rpm
glibc-common-2.3.4-2.41.el4_7.1.i386.rpm
glibc-debuginfo-2.3.4-2.41.el4_7.1.i386.rpm
glibc-debuginfo-common-2.3.4-2.41.el4_7.1.i386.rpm
glibc-devel-2.3.4-2.41.el4_7.1.i386.rpm