Giter VIP home page Giter VIP logo

kiss-llvm's People

Contributors

dilyn-corner avatar konimex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

kiss-llvm's Issues

error when compiling clang-pass2

[ 90%] Building CXX object lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayoutBuilder.cpp.o
[ 90%] Building CXX object lib/AST/CMakeFiles/obj.clangAST.dir/ScanfFormatString.cpp.o
[ 90%] Building CXX object lib/AST/CMakeFiles/obj.clangAST.dir/SelectorLocationsKind.cpp.o
[ 90%] Building CXX object lib/AST/CMakeFiles/obj.clangAST.dir/Stmt.cpp.o
[ 90%] Building CXX object lib/AST/CMakeFiles/obj.clangAST.dir/StmtCXX.cpp.o
[ 90%] Building CXX object lib/AST/CMakeFiles/obj.clangAST.dir/StmtIterator.cpp.o
[ 90%] Building CXX object lib/AST/CMakeFiles/obj.clangAST.dir/StmtObjC.cpp.o
[ 90%] Building CXX object lib/AST/CMakeFiles/obj.clangAST.dir/StmtOpenMP.cpp.o
[ 90%] Building CXX object lib/AST/CMakeFiles/obj.clangAST.dir/StmtPrinter.cpp.o
[ 90%] Building CXX object lib/AST/CMakeFiles/obj.clangAST.dir/StmtProfile.cpp.o
[ 91%] Building CXX object lib/AST/CMakeFiles/obj.clangAST.dir/StmtViz.cpp.o
[ 91%] Building CXX object lib/AST/CMakeFiles/obj.clangAST.dir/TemplateBase.cpp.o
[ 91%] Building CXX object lib/AST/CMakeFiles/obj.clangAST.dir/TemplateName.cpp.o
[ 91%] Building CXX object lib/AST/CMakeFiles/obj.clangAST.dir/TextNodeDumper.cpp.o
[ 91%] Building CXX object lib/AST/CMakeFiles/obj.clangAST.dir/Type.cpp.o
[ 91%] Building CXX object lib/AST/CMakeFiles/obj.clangAST.dir/TypeLoc.cpp.o
[ 91%] Building CXX object lib/AST/CMakeFiles/obj.clangAST.dir/TypePrinter.cpp.o
[ 91%] Building CXX object lib/AST/CMakeFiles/obj.clangAST.dir/VTableBuilder.cpp.o
[ 91%] Building CXX object lib/AST/CMakeFiles/obj.clangAST.dir/VTTBuilder.cpp.o
In file included from /usr/include/c++/v1/math.h:311,
                 from /usr/include/c++/v1/cmath:304,
                 from /usr/include/llvm-c/DataTypes.h:28,
                 from /usr/include/llvm/Support/DataTypes.h:16,
                 from /usr/include/llvm/ADT/Hashing.h:47,
                 from /usr/include/llvm/ADT/ArrayRef.h:12,
                 from /usr/include/llvm/ADT/DenseMapInfo.h:16,
                 from /home/dilyn/.cache/kiss/build-27579/@clang-pass2/include/clang/AST/CharUnits.h:16,
                 from /home/dilyn/.cache/kiss/build-27579/@clang-pass2/include/clang/AST/BaseSubobject.h:16,
                 from /home/dilyn/.cache/kiss/build-27579/@clang-pass2/include/clang/AST/VTableBuilder.h:16,
                 from /home/dilyn/.cache/kiss/build-27579/@clang-pass2/lib/AST/VTableBuilder.cpp:13:
/usr/include/c++/v1/type_traits: In instantiation of 'struct std::__1::__decay<{anonymous}::FinalOverriders::OverriderInfo&, true>':
/usr/include/c++/v1/type_traits:1367:94:   required from 'struct std::__1::decay<{anonymous}::FinalOverriders::OverriderInfo&&>'
/usr/include/c++/v1/utility:392:16:   required by substitution of 'template<class _Tuple, typename std::__1::enable_if<typename std::__1::conditional<(std::__1::__tuple_like_with_size<_Tuple, 2, typename std::__1::__uncvref<_Tp>::type>::value && (! std::__1::is_same<typename std::__1::decay<_Tp>::type, std::__1::pair<const clang::CXXMethodDecl*, clang::OverridingMethods> >::value)), std::__1::pair<const clang::CXXMethodDecl*, clang::OverridingMethods>::_CheckTupleLikeConstructor, std::__1::__check_tuple_constructor_fail>::type::__enable_implicit<_Tuple>(), bool>::type <anonymous> > constexpr std::__1::pair<const clang::CXXMethodDecl*, clang::OverridingMethods>::pair(_Tuple&&) [with _Tuple = {anonymous}::FinalOverriders::OverriderInfo&&; typename std::__1::enable_if<typename std::__1::conditional<(std::__1::__tuple_like_with_size<_Tuple, 2, typename std::__1::__uncvref<_Tp>::type>::value && (! std::__1::is_same<typename std::__1::decay<_Tp>::type, std::__1::pair<const clang::CXXMethodDecl*, clang::OverridingMethods> >::value)), std::__1::pair<const clang::CXXMethodDecl*, clang::OverridingMethods>::_CheckTupleLikeConstructor, std::__1::__check_tuple_constructor_fail>::type::__enable_implicit<_Tuple>(), bool>::type <anonymous> = <missing>]'
/home/dilyn/.cache/kiss/build-27579/@clang-pass2/lib/AST/VTableBuilder.cpp:203:22:   required from here
/usr/include/c++/v1/type_traits:1358:30: error: forming pointer to reference type 'std::__1::remove_extent<{anonymous}::FinalOverriders::OverriderInfo&>::type' {aka '{anonymous}::FinalOverriders::OverriderInfo&'}
 1358 |                      >::type type;
      |                              ^~~~
make[2]: *** [lib/AST/CMakeFiles/obj.clangAST.dir/build.make:1305: lib/AST/CMakeFiles/obj.clangAST.dir/VTableBuilder.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:4446: lib/AST/CMakeFiles/obj.clangAST.dir/all] Error 2
make: *** [Makefile:150: all] Error 2

I can reproduce this. Will find a fix (and possibly reduce the passes)

Error building @libc++abi

This is the error I got when trying to build @libc++abi.

CMake Error at CMakeLists.txt:4 (message):
  libc++abi now requires being built in a monorepo layout with libcxx
  available

Packages to be tested with kiss-llvm overlay

With #4 in mind, I decided to check out ways we will need to diverge from KISS mainline to make sure our packages works 100% with mainline repos (and mainline repos only). Since KISS officially only supports GCC, any changes that will be upstreamed will need to be non-intrusive (i.e. if the changes require patches that won't work with GCC, it won't be included) with xf86-video-intel and elfutils-libelf as precedent. Since kiss-llvm, in theory, is equivalent to KISS with only a toolchain difference, and very similar to Wyverkiss (with the difference being Wyverkiss tries to purge GNU from toolchain), maintenance should be minimal, save for a few packages (and even then it should be a copy-paste job most of the time).

However, this also means unlike Wyverkiss, kiss-llvm should not be shipping its own mainline repo as submodule as the intended way of kiss-llvm is to be an overlay to the mainline repo.

core:

  • baseinit
  • baselayout
  • binutils
  • bison
  • busybox
  • bzip2
  • curl
  • flex
  • gcc
    We probably won't support this behavior since it can cause headaches. (GCC only supports libstdc++ by default and the only way to use libc++ is to force -lc++, perhaps?)
  • git
  • grub
  • gzip
  • kiss
  • libressl
  • linux-headers
  • m4
  • make
  • musl
  • xz
  • zlib
    zlib fails on linking stage, needs CFLAGS="$CFLAGS -fPIC"
    (UPDATE: See kiss-community/repo#32)

extra:

  • acpid
  • alsa-lib
  • alsa-utils
  • atk
  • cairo
  • cbindgen
    Depends on Rust
  • ccache
    For obvious reasons we won't upstream any changes here as it's about symlink changes.
  • clang
    Overridden with our package
  • cmake
  • dhcpcd
  • dosfstools
  • e2fsprogs
  • efibootmgr
  • efivar
  • eiwd
  • eudev
  • expat
  • ffmpeg
  • firefox
    Tests with Firefox will be done after Rust. However, with significant build file differences, it is unlikely that any build changes here will be upstreamed.
  • firefox-esr
    See above
  • firefox-privacy
  • fontconfig
  • freetype-harfbuzz
  • fribidi
  • gcompat
  • gdk-pixbuf
  • giflib
  • glib
  • gnupg1
  • gperf
  • gtk+3
  • hicolor-icon-theme
  • intel-vaapi-driver
  • lame
  • libass
  • libdrm
  • libelf
  • libepoxy
  • liberation-fonts
  • libevdev
  • libffi
  • libinput
  • libjpeg-turbo
  • libogg
  • libpng
  • libtheora
  • libudev-zero
  • libva
  • libva-utils
  • libvorbis
  • libvpx
    Dylan included generated files that probably only works with either GCC or ld.bfd, we may need to generate our own.
    (UPDATE: It works with clang, but we need to specify GCC. So we can copy-and-paste the generated files verbatim for Clang, but we just need to add some mimic gcc by adding symlinks just like Rust for the configure phase. In short, libvpx build system sucks, either way, we're not upstreaming this)
    (UPDATE: See kiss-community/repo#32)
  • libwebp
  • llvm
    Overridden with our package
  • lzip
  • mandoc
  • mesa
  • meson
  • mpv
  • mtdev
  • nasm
  • ncurses
  • nodejs
    Needs -latomic, but requirement removed in Wyverkiss, we won't be upstreaming this.
  • opendoas
  • openresolv
  • openssh
  • opus
  • pango
  • patchelf
  • perl
  • pkgconf
  • plzip
    needs -lunwind, we're not upstreaming this
  • python
  • rsync
  • rust
    With https://github.com/wyvertux/wyverkiss/blob/b095ecdbe5c1680781d8bd29f19961cb76932df7/testing/rust/build#L57, it should be possible to build Rust on a GCC-only environment, effectively removing the need from GCC in the mainline repo, however, with LLVM-specific patch, we cannot upstream this at all.
  • samurai
  • sqlite
  • strace
  • sudo
  • tiff
  • tzdata
  • util-linux
  • vim
  • wpa_supplicant
  • x264
    (UPDATE: See kiss-community/repo#32)
  • x265
  • xfsprogs
    See kiss-community/repo#32
  • xvidcore
  • zip
  • zstd

xorg

  • libICE
  • libSM
  • libX11
  • libXScrnSaver
  • libXau
  • libXcomposite
  • libXcursor
  • libXdamage
  • libXext
  • libXfixes
  • libXfont2
  • libXft
  • libXi
  • libXinerama
  • libXmu
  • libXrandr
  • libXrender
  • libXt
  • libXtst
  • libXxf86vm
  • libfontenc
  • libpciaccess
  • libxcb
  • libxkbcommon
  • libxkbfile
  • libxshmfence
  • pixman
  • setxkbmap
  • sowm
  • st
  • xauth
  • xbitmaps
  • xcb-proto
  • xcb-util
  • xcb-util-cursor
  • xcb-util-image
  • xcb-util-keysyms
  • xcb-util-renderutil
  • xcb-util-wm
  • xev
  • xf86-input-libinput
  • xf86-video-amdgpu
  • xf86-video-ati
  • xf86-video-intel
    Overriden by our package
  • xf86-video-nouveau
  • xf86-video-vesa
  • xinit
  • xinput
  • xkbcomp
  • xkeyboard-config
  • xorg-server
  • xorg-util-macros
  • xorgproto
  • xprop
  • xrandr
  • xrdb
  • xset
  • xsetroot
  • xtrans

[Request] Install guide

This looks very interesting. Is there any chance we could get a guide for a LLVM based kiss install? I appreciate that there is already a bit of instruction, but I was hoping for more of a step-by-step, like a slightly modified version of this

Best wishes,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.