Menu

#3477 Snapshot build fails on Debian GNU/Linux testing

closed-fixed
Felix
None
Build
5
2023-07-29
2022-09-06
No

Trying to build current snapshots from trunk on a Debian GNU/Linux testing machines using the instruction at https://sourceforge.net/p/sdcc/wiki/HOWTO%20Make%20Snapshot%20Builds%20on%20the%20Developer%20Machine/ fails for me:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/home/sdcc-builder/build/sdcc-build/orig/sdcc/support/cpp/libbacktrace -I /home/sdcc-builder/build/sdcc-build/orig/sdcc/support/cpp/libbacktrace/../include -I /home/sdcc-builder/build/sdcc-build/orig/sdcc/support/cpp/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=mmap.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -c /home/sdcc-builder/build/sdcc-build/orig/sdcc/support/cpp/libbacktrace/mmap.c -o mmap.o >/dev/null 2>&1
libtool: link: ar rc .libs/libbacktrace.a .libs/atomic.o .libs/dwarf.o .libs/fileline.o .libs/posix.o .libs/print.o .libs/sort.o .libs/state.o .libs/backtrace.o .libs/simple.o .libs/elf.o .libs/mmapio.o .libs/mmap.o 
libtool: link: ranlib .libs/libbacktrace.a
libtool: link: ( cd ".libs" && rm -f "libbacktrace.la" && ln -s "../libbacktrace.la" "libbacktrace.la" )
/home/sdcc-builder/build/sdcc-build/orig/sdcc/support/cpp/gcc/opts.cc: In function void print_filtered_help(unsigned int, unsigned int, unsigned int, unsigned int, gcc_options*, unsigned int):
/home/sdcc-builder/build/sdcc-build/orig/sdcc/support/cpp/gcc/opts.cc:1632:26: warning:    directive output may be truncated writing 2 bytes into a region of size between 1 and 256 [-Wformat-truncation=]
 1632 |                       "%s  %s", help, _(use_diagnosed_msg));
      |                          ^~
/home/sdcc-builder/build/sdcc-build/orig/sdcc/support/cpp/gcc/opts.cc:1631:22: note: snprintf output between 37 and 292 bytes into a destination of size 256
 1631 |             snprintf (new_help, sizeof new_help,
      |             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
 1632 |                       "%s  %s", help, _(use_diagnosed_msg));
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/ld: toplev.o: in function `crash_signal(int)':
toplev.cc:(.text+0x269): undefined reference to `this_is_asm_operands'
/usr/bin/ld: toplev.cc:(.text+0x27d): undefined reference to `output_operand_lossage(char const*, ...)'
collect2: error: ld returned 1 exit status

A full log is attached.

1 Attachments

Related

Bugs: #3492

Discussion

  • Felix

    Felix - 2022-10-11

    This is fixed with [r13729]. But more and other problems persist with cpp build, nmi.

     

    Related

    Commit: [r13729]

  • Felix

    Felix - 2023-07-29
    • status: open --> closed-fixed
    • assigned_to: Felix
     

Log in to post a comment.

MongoDB Logo MongoDB