• aarch64 gcc 10.3.1 源码编译 qemu-4.2.0


    yum install -y  flex
    yum install -y  bison
    yum install -y  texinfo
    yum install -y  perl-podlators
    yum install -y  kernel
    yum install -y  chrpath
    yum install -y  gettext
    yum install -y  python-sphinx
    yum install -y  zlib-devel
    yum install -y  gtk3-devel
    yum install -y  gnutls-devel
    yum install -y  numactl-devel
    yum install -y  device-mapper-multipath-devel
    yum install -y  rdma-core-devel
    yum install -y  libcap-devel
    yum install -y  libcap-ng-devel
    yum install -y  cyrus-sasl-devel
    yum install -y  libaio-devel
    yum install -y  usbredir-devel >= 0.5.2
    yum install -y  libseccomp-devel >= 2.3.0
    yum install -y  systemd-devel
    yum install -y  libiscsi-devel
    yum install -y  snappy-devel
    yum install -y  lzo-devel
    yum install -y  ncurses-devel
    yum install -y  libattr-devel
    yum install -y  libcurl-devel
    yum install -y  libjpeg-devel
    yum install -y  libpng-devel
    yum install -y  brlapi-devel
    yum install -y  pixman-devel
    yum install -y  libusbx-devel
    yum install -y  bzip2-devel
    yum install -y  libepoxy-devel
    yum install -y  libtasn1-devel
    yum install -y  libxml2-devel
    yum install -y  libudev-devel
    yum install -y  pam-devel
    yum install -y  perl-Test-Harness
    yum install -y  python3-devel
    yum install -y  librbd-devel
    yum install -y  krb5-devel
    yum install -y  libssh-devel
    yum install -y  glib2
    yum install -y  libfdt-devel
    yum install -y  virglrenderer-devel

    export CFLAGS="-fPIE -DPIE -fPIC -Wno-array-bounds"
    export LDFLAGS="-Wl,--build-id -pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack"


    ./configure \
        --prefix=/usr/local   \
        --target-list=aarch64-softmmu     \
        --extra-cflags="-fPIE -DPIE -fPIC"    \
        --extra-ldflags="-Wl,--build-id -pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack" \
        --python=/usr/bin/python3 \
        --disable-strip \
        --disable-slirp  \
        --enable-gtk \
        --enable-docs \
        --enable-guest-agent \
        --enable-pie \
        --enable-numa \
        --enable-mpath \
        --disable-libnfs \
        --disable-bzip2 \
        --enable-kvm \
        --enable-tcg \
        --enable-rdma \
        --enable-linux-aio \
        --enable-cap-ng \
        --enable-vhost-user \
        --enable-modules \
        --enable-libssh \
        --enable-fdt \
        --enable-virglrenderer \
        --enable-cap-ng \
        --enable-libusb \
        --disable-bluez \
        --disable-dmg \
        --disable-qcow1 \
        --disable-vdi \
        --disable-vvfat \
        --disable-qed \
        --disable-parallels \
        --disable-sheepdog \
        --disable-capstone \
        --disable-smartcard
        
        
    numactl -N 0-3 make -j64    

    make install
     

  • 相关阅读:
    YOLOv5利用Labelimg标注自己数据集
    Autosar诊断实战系列20-UDS首帧数据接收及流控帧发送代码级分析
    怎样将例化的uvn test包含在verdi的instance中,并将其中变量加入到dump的波形中(方便verdi追test以及debug)
    Python-模块
    重装系统后没声音如何解决
    【GoWeb项目-个人Blog】个人Blog开篇
    AJAX请求及解决跨域问题
    C++入门知识
    TiDB 7.1.0 LTS 特性解读丨关于资源管控 (Resource Control) 应该知道的 6 件事
    Python爬虫是否合法?
  • 原文地址:https://blog.csdn.net/hknaruto/article/details/133881813