Code Monkey home page Code Monkey logo

pine_ox64's Introduction

pine_ox64's People

Contributors

mica-angeli avatar p4ddy1 avatar peernohell avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

pine_ox64's Issues

make build fails with error

updated all build tools and source before

$ brew update; brew upgrade
$ cd xuantie-gnu-toolchain
$ git pull --force
$ git submodule update --remote  --force --recursive  
$ make distclean
$ ./configure --prefix=/opt/riscv-toolchain/xuantie --with-cmodel=medany --enable-multilib --disable-gdb
$ make newlib -j$(nproc)

but the build still fails somewhere

g++   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H  -DGENERATOR_FILE -fno-PIE  -no-pie -o build/genautomata \
    build/genautomata.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/hash-table.o build/sort.o build/read-md.o build/errors.o ../build-arm-apple-darwin22.4.0/libiberty/libiberty.a -lm
clang: warning: argument unused during compilation: '-no-pie' [-Wunused-command-line-argument]
ld: warning: -no_pie is deprecated when targeting new OS versions
ld: warning: -no_pie ignored for arm64
build/genautomata ../.././riscv-gcc/gcc/common.md ../.././riscv-gcc/gcc/config/riscv/riscv.md \
  insn-conditions.md > tmp-automata.c
/bin/sh ../.././riscv-gcc/gcc/../move-if-change tmp-automata.c insn-automata.c
automatav=$(echo $(LC_MESSAGES=C csplit insn-automata.c /parallel\ compilation/ -k -s {20} -f insn-automata -b "%d.c" 2>&1));\
[ ! "$automatav" ] || grep "match not found" <<< $automatav
make[2]: *** [Makefile:2411: s-automata] Error 1
make[2]: Leaving directory '/Users/jbrunk/Development/riscv/xuantie-gnu-toolchain/build-gcc-newlib-stage1/gcc'
make[1]: *** [Makefile:4429: all-gcc] Error 2
make[1]: Leaving directory '/Users/jbrunk/Development/riscv/xuantie-gnu-toolchain/build-gcc-newlib-stage1'
make: *** [Makefile:553: stamps/build-gcc-newlib-stage1] Error 2

[Mac M3] Compile error

Hello,

I got the bellow error:

In file included from ../.././riscv-gcc/gcc/config/riscv/riscv.c:7069:
In file included from ../.././riscv-gcc/gcc/config/riscv/riscv-thead.c:4:
../.././riscv-gcc/gcc/config/riscv/riscv-thead-tune.h:1:31: error: non-aggregate type 'const struct riscv_tune_param' cannot be initialized with an initializer list
const struct riscv_tune_param thead_e9_tune_info = {
                              ^                    ~
../.././riscv-gcc/gcc/config/riscv/riscv-thead-tune.h:17:31: error: non-aggregate type 'const struct riscv_tune_param' cannot be initialized with an initializer list
const struct riscv_tune_param thead_c906v_tune_info = {
                              ^                       ~
../.././riscv-gcc/gcc/config/riscv/riscv-thead-tune.h:33:31: error: non-aggregate type 'const struct riscv_tune_param' cannot be initialized with an initializer list
const struct riscv_tune_param thead_c910_tune_info = {
                              ^                      ~
../.././riscv-gcc/gcc/config/riscv/riscv-thead-tune.h:49:31: error: non-aggregate type 'const struct riscv_tune_param' cannot be initialized with an initializer list
const struct riscv_tune_param thead_c908_tune_info = {

Any ideas to solve it?

GCC unable to find C standard headers

Hi thanks so much for this.
I was able to build the toolchain, but my builds fail with fatal error: stdlib.h: No such file or directory
Do you happen to know a solution for this?
Perhaps it could be a useful addition to the instructions, if this is something encountered by other users.
Thanks again, very excited to use this toolchain on my new mac.

GNU Awk not found

Hello there, I followed all the steps but got stuck in the:
./configure --prefix=/opt/riscv-toolchain/xuantie --with-cmodel=medany --enable-multilib

with the issue on the title, has this happened to you before?, I already installed gawk via brew on the m1 but still no luck

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.