Skip to content

configure with --no-libbacktrace fails for gcc-15 and newer #149

Description

@svenha

I normally configure my bigloo builds with the option --no-libbacktrace. This worked for gcc-14 and older, but fails for gcc-15 and newer with this error during make:

gcc-15  -fPIC -O2 -O2 -fno-stack-protector -fno-strict-aliasing -march=nehalem -Wno-incompatible-pointer-types  -Wno-unused-value -Wno-parentheses-equality -Wno-parentheses -Wno-invalid-source-encoding -Wno-return-type -Wno-trigraphs -DBMEMDEBUG -fPIC -g -Ilib -I/var/tmp/bigloo/lib/bigloo/4.7b -I. lib/backtrace.c -o lib/backtrace.o -c                                                                                                                                                                                                                                                                                                             
lib/backtrace.c: In function ‘backtrace_full’:
lib/backtrace.c:141:14: error: too many arguments to function ‘cb’; expected 0, have 5                                                                                                                                                                                                                                         
  141 |          if (cb(data, 0L, filename, at, function)) {                                                                                                                                                                                                                                                                   
 |              ^~ ~~~~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
make[4]: *** [Makefile:176: lib/backtrace.o] Error 1 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions