riscv-collab / riscv-gnu-toolchain

GNU toolchain for RISC-V, including GCC
Other
3.56k stars 1.17k forks source link

make change to binutils, don't build #1620

Open quantrpeter opened 3 days ago

quantrpeter commented 3 days ago

hi make a change to binutils, changed the dwarf.c, then i type "make", it don't build. It said everything is updated.

thanks Peter

TommyMurphyTM1234 commented 3 days ago

The top level riscv-gnu-toolchain Makefile isn't structured to detect such changes to submodule component sources and do an incremental build.

You'll have to force an appropriate rebuild.

Try this to just rebuild Binutils:

rm stamps/build-binutils*
make 

If that doesn't help then you may need to force a complete clean build:

make distclean
rm -rf <prefix-dir>
make 
TommyMurphyTM1234 commented 1 day ago

Any update @quantrpeter? Did what I suggested help?