Skip to content

[gcc14 + binutils 2.18 and gcc 3.4] FritzBox 7113: Build fails #1037

Locked Answered by dreirund
dreirund asked this question in General
Discussion options

You must be logged in to vote

OK, I could workaround all issues regarding gcc-kernel and binutils-kernel, but I do not know how to properly implement all in the build system: For some I had to manually edit files after a first make run:

  1. Add the following patch file(s) into make/toolchain/kernel/binutils/patches/2.18/ and make/toolchain/kernel/gcc/patches/3.4/:
    --- libiberty/md5.c	2024-09-09 17:03:04.889417535 +0200
    +++ libiberty/md5.c	2024-09-09 19:34:10.219155451 +0200
    @@ -29,3 +29,3 @@
    
    -#if STDC_HEADERS || defined _LIBC
    +#if STDC_HEADERS || defined _LIBC || __GNUC_PREREQ(14,0)
    # include <stdlib.h>
    --- libiberty/regex.c	2024-09-09 17:03:04.889417535 +0200
    +++ libiberty/regex.c	2024-09-09 19:34:02.292489011 +0200
    @@…

Replies: 7 comments 9 replies

Comment options

You must be logged in to vote
5 replies
@dreirund
Comment options

@fda77
Comment options

fda77 Sep 9, 2024
Collaborator

@dreirund
Comment options

@fda77
Comment options

fda77 Sep 9, 2024
Collaborator

@dreirund
Comment options

Comment options

You must be logged in to vote
2 replies
@dreirund
Comment options

@fda77
Comment options

fda77 Sep 10, 2024
Collaborator

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by dreirund
Comment options

You must be logged in to vote
1 reply
@dreirund
Comment options

This comment was marked as off-topic.

@fda77

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants