Comments (6)
Build output will be easier to read in a
```
verbatim block
```
from riscv-tools.
Doesn't seem like a RISC-V problem. Have you successfully built an x86 toolchain on this machine?
from riscv-tools.
I need to understand some terminology here. When you say 'built an x86 toolchain' in this context, do you mean building a compiler targetting any platform, to operate on x86 (i.e. a cross-compiler such as e.g. one that compiles ARM-native applications on an x86 machine), or a native compiler to build applications for the machine also doing the compilation (x86 target on Ubuntu)?
I've built several cross-compiler without problems. I also have a working toolchain for native x86 compilation in Ubuntu, although I believe this would not use the 'unknown' target.
However I should note that my level of knowledge about the gcc build is not nearly at the level that would enable me to speculate on what the problem related to in any direct way. So regardless of where the problem may lie I am going to need more concrete direction if I am to have any chance of fixing it in meaningful time.
from riscv-tools.
I should've more generically asked "have you built any GCC on this machine".
To isolate RISC-V-specific stuff, I'd try building a native gcc with this exact version of gcc. You can try something like mkdir test-native && cd test-native && ../riscv-gcc/configure --disable-multilib --prefix=/tmp && make
from within riscv-gnu-toolchain. Whether that succeeds or fails will give us more information.
from riscv-tools.
Yes, the build succeeded without problems. Making a guess, I suspect this may be related to the fact that the makefile produced gives: host=x86_64-pc-linux-gnu and likewise for target. So it's not trying to build x86_64-unknown-linux-gnu targets. However this is speculation on my part.
from riscv-tools.
An error like this can occur if you run configure or make in the riscv-gcc/gcc subdir instead of in the riscv-gcc dir. However, this should not have happened if using the build scripts.
It isn't clear how to reproduce. The provided info only contains the stderr from the build. Most of the info is in the riscv-gnu-toolchain/build/build.log file which was not provided.
Given the length of time this has been open, and the fact that there have been so many source and script file changes since then, I don't think it serves any purpose to keep this open any longer.
from riscv-tools.
Related Issues (20)
- collect2.exe: error: ld returned 1 exit status HOT 3
- Build fails HOT 2
- riscv-pk submodule might need to update to keep compatible with gcc. HOT 2
- riscv-tools build.sh failed HOT 5
- Which instruction set combination can support a simple Linux operating system HOT 1
- Riscv-tools make failed for M1 support HOT 2
- which version of riscv-tools for testing the Rocket without FPU on ZYBO FPGA? HOT 1
- Always ending with error while building HOT 17
- submodule riscv-pk not updated HOT 1
- Build failure OS X: illegal options for BSD ar HOT 2
- REQUESTING ADVICE ON RISCV-OPCODES : Error: internal: bad RISC-V opcode (bits 0xffffffffffff8f80 undefined): slti Fatal error: internal: broken assembler. No assembly attempted HOT 3
- QUERY REGARDING ADDING CUSTOM INSTRUCTIONS HOT 1
- In the process of using riscv tool chain to generate the program, there are no instructions to generate C-type instructions, but there are C-type instructions in the generator.
- Why in the process of using riscv tool chain, the instruction set of my instruction is IMA, and there will be C-type instructions in the generated instructions, and no matter how the parameters are adjusted, the C-type instructions will not be removed.
- riscv32-unknown-elf-gcc : command not found HOT 4
- bbl loader ../pk/elf.c:41: assertion failed: IS_ELF64(eh) Power off HOT 2
- I am trying to compile the rvv-intrinsic program, but the following errors occur. Could someone please help me?
- unrecognized argument in option β-mcmodel=medanyβ HOT 2
- ld returned 1 exit status ../isa/Makefile:74: rv32ui-v-simple] Error 1 HOT 1
- build failure due to previously defined environment variables
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from riscv-tools.