llvm

  1. crypt47

    Compilation with poudriere gives bad binaries.

    Hello, I've updated system to F14.1 and built packages from latest. First I got an unpleasant surprise, when ffmpeg4 crashed on any .flac file if built with llvm >13, and it seems nobody cared for a very long time, as I saw this a year ago. I've reported a bug, wrote to the maintainer, he isn't...
  2. D

    [Poudriere] : out of memory

    Hi all, I'm trying to build i386:wine-devel 9.3. Nevertheless, poudriere bulk -j wine-build emulators/wine-devel runs out of memory (linkage process indeed) when build gcc-13 and llvm-15. My hardware : 9 Go RAM + 12 Go swap. Anyone has an idea to workaround this ? Note: Building...
  3. B

    Solved Bleeding edge c++ development supported?

    I wanted to test some of the new features available in the clang-18 version (details can be found here: https://en.cppreference.com/w/cpp/compiler_support); How should I go about this? Because I'm guessing that since FreeBSD has its own libc, it won't be enough to just compile the compiler ;D Is...
  4. F

    Solved How to completely replace LLVM16 by LLVM15 on FreeBSD14 Current?

    Hello folks, I got a situation where I need to compile FreeBSD 14 Current from an old source (from 3 to 5 months ago) but I am getting multiple errors related to the last changes involving CLANG/LLVM16, like the explanation below: Clang 16 introduced a warning that "implicit truncation from...
  5. D

    FreeBSD Developer's Guide Debugging

    LLDB FreeBSD Developer's Guide LLDB practical guide for the FreeBSD Developer to remember some very important commands, in the evaluation of debugging the code. Note: ‘(lldb)’ is the debugger prompt. ‘$’ is the shell prompt. load a program into lldb lldb hello Same in two steps: $ lldb (lldb)...
  6. J

    C Protobuf with GCC

    I have a cross-platform project using devel/cmake and C++20. This project compiles fine under Windows, Linux and MacOS. The project uses Google's protobuf library. On FreeBSD, I installed those from devel/protobuf. The problem I'm facing is that the project requires lang/gcc11 as clang is...
  7. HL1234

    Version of llvm compilor framework in FreeBSD 13 and for the ports are not identical

    FreeBSD 13.0 uses now llvm-11.0.1. In /usr/ports/Mk/bsd.default-versions.mk is defined #Possible values: 70, 80, 90, 10, 11, -devel (to be used when non-base compiler is required) LLVM_DEFAULT?=90That's the version llvm-9.0.. So installing from the ports, where some ports LLVM needed, will...
  8. Minbari

    The llvm "saga"

    Before you are gone "attack" me I'm gone tell you something: I'm a FreeBSD user since 5.2 and I love it; also FreeBSD is my main OS despite the fact that I also run several GNU/Linux instances on other machines, but having multiple version of the same software is unproductive. For eg. right now...
  9. Angelo Klin

    Bare minimum build of LLVM

    Hello All, I use iRedMail to run a personal domain. iRedMail on FreeBSD compiles all the necessary packages from Ports. LLVM is a dependency for Postgres, amongst others. The full installation of LLVM is not required in the context above. Things like cross-compile, debugger are not used...
  10. F

    Solved Poudriere Ignoring make.conf

    After running my normal updates for this month, I see llvm80 is building inside of poudriere. In the past, I disabled llvm from building and it has not built for some time. I do not remember what I did years ago to stop it from building. Could someone point me in the right direction to determine...
  11. A

    C llvm10 memory sanitizer error at std::ostream::operator<<

    Hello! I created this simple source file: #include <iostream> int main(){ std::cout << "TEST" << std::endl; return 0; } Compiled this file with devel/llvm10: clang++10 -fsanitize=memory -fsanitize-memory-track-origins=2 -fno-omit-frame-pointer -Wall -Wextra -pedantic -g -I/usr/include...
  12. P

    llvm port cannot find python3 on the system

    I am trying to build qemu-devel from source so I go: /usr/ports/emulator/qemu-devel/ # make config-recursive && make -DBATCH install clean it goes on until it fails here: ===> llvm80-8.0.1_3 needs Python 3.6 at least, but 2.7 was specified. *** Error code 1 Stop. make[5]: stopped in...
  13. B

    Do I need both llvm60 and llvm80? (11.3-RELEASE)

    Hi, I have a machine now running 11.3-RELEASE that's been upgraded several times starting with the 10.x tree. Somewhere along the line, I've picked up both llvm60 and llvm80. I notice today that there are simultaneous updates for both, and my first thought is "surely this isn't necessary!" I...
  14. N

    Howto set newer LLVM version as default compiler on FreeBSD10.4?

    How can I force FreeBSD 10.4 to use a newer LLVM version like 4.0 to compile cc libs? I installed LLVM4.0 via ports and I change my /etc/make.conf : CC=clang40 CXX=clang++40 CPP=clang-cpp40 If if run clang --version it shows 3.4 the default one is used... How can I setup my LLVM version...
  15. sidetone

    BSDtoolchain on FreeBSD stable 11?

    About the status of LLVM utilities, and elfutils on FreeBSD (future 11.2) stable version. Were there any leaps of a BSD toolchain on replacing binutils on stable (future 11.2) compared to on FreeBSD 11.1? Is there anything working that hasn't been represented in...
  16. fnoyanisi

    Failed to build llvm50 from ports inside the jail

    Hi there, I created a new jail via ezjail-admin, and attempted to build devel/llvm50 with the command below make -DBATCH WITH_DEBUG=yes install clean I left my laptop running all night and in the morning I saw the build failed at some stage. My base system (host that the jail is running on) is...
  17. sidetone

    Solved Is it possible to buildworld without base compilers to use package compilers

    Is it possible to buildworld without Clang or GCC, so a newer llvm or Clang can be installed as a package? I tried this, and now I'm stuck with a system that can't compile anything, from the package compilers. This topic seems to belong in "Installing and Upgrading FreeBSD..." but its about...
  18. m4r1n

    Solved `make buildworld` does not build base llvm on FreeBSDDesktop/freebsd-base-graphics

    Hi, I'm in the process of testing the drm-next-4.7 branch from the FreeBSDDesktop github repository on several computers. As I want to avoid building world on every machine, I decided to set up a dedicated build machine running FreeBSD 11.0-STABLE. The plan was to build world, kernel and some...
  19. Rand0m

    C Upgrading Base Clang

    Hi there, I wonder how I can upgrade the Clang/llvm that is ported with FreeBSD. I know i can get the newest version from ports but how can I make the ports version the default clang for the system. Thanks :)
  20. D

    Solved Require LLVM_CONFIG variable in port

    Hello, I am looking at porting over llvmlite, and numba for python. It builds just fine with the documentation provided, however it is required to pass LLVM_CONFIG: LLVM_CONFIG=/usr/local/bin/llvm-config37 python setup.py Which works fine as an install for myself. However as a port, I wasn't...
Back
Top