Opened 8 months ago

Closed 3 months ago

#18876 closed bug (fixed)

binutils needs to be updated to compile on nightly builds

Reported by: memecode Owned by: nobody
Priority: normal Milestone: R1/beta5
Component: Build System Version: R1/Development
Keywords: Cc:
Blocked By: Blocking: #18565
Platform: All

Description

I tried to build some C++ software on hrev57669 and got this error:

/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/13.2.0/../../../../x86_64-unknown-haiku/bin/as: unrecognized option `--gdwarf-5'

When I upgraded binutils with: pkgman update binutils Things started working again. Apparently you need binutils 2.41 in combination with GCC 13. And 2.31.1 comes with the install.

Discussion here: https://discuss.haiku-os.org/t/cant-compile-using-gcc-on-hrev57669-nightly-somewhat-solved/14848/8

Change History (4)

comment:1 by waddlesplash, 7 months ago

Keywords: binutils removed
Milestone: UnscheduledR1/beta5

comment:2 by pulkomandy, 7 months ago

Blocking: 18565 added

comment:3 by pulkomandy, 3 months ago

Done in hrev57946 for x86_64

I guess Waddlesplash will be working on x86_gcc2 next?

comment:4 by waddlesplash, 3 months ago

Resolution: fixed
Status: newclosed

binutils updated for both arches.

Note: See TracTickets for help on using tickets.