[Bug 285708] sysutils/vtm: Fix build on i386

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 16 May 2025 08:16:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285708

--- Comment #15 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Mark Millard from comment #12)

FYI: some gdb activity indicates that, with
-stdlib=libc++ , gcc13 loops in its (cc1plus)
instantiate_pending_templates routine (that
calls other stuff not shown) :

(gdb) bt
#0  instantiate_pending_templates (retries=0) at
/wrkdirs/usr/ports/lang/gcc13/work/gcc-13.3.0/gcc/cp/pt.cc:27282
#1  0x0062fefc in c_parse_final_cleanups () at
/wrkdirs/usr/ports/lang/gcc13/work/gcc-13.3.0/gcc/cp/decl2.cc:5002
#2  0x0084a68c in c_common_parse_file () at
/wrkdirs/usr/ports/lang/gcc13/work/gcc-13.3.0/gcc/c-family/c-opts.cc:1266
#3  0x015351cc in compile_file () at
/wrkdirs/usr/ports/lang/gcc13/work/gcc-13.3.0/gcc/toplev.cc:444
#4  0x01534988 in do_compile (no_backend=false) at
/wrkdirs/usr/ports/lang/gcc13/work/gcc-13.3.0/gcc/toplev.cc:2125
#5  toplev::main (this=<optimized out>, argc=40, argv=0xffffd6bc) at
/wrkdirs/usr/ports/lang/gcc13/work/gcc-13.3.0/gcc/toplev.cc:2277
#6  0x019a1a9c in main (argc=0, argv=0x1b63874 <name_lookup::active>) at
/wrkdirs/usr/ports/lang/gcc13/work/gcc-13.3.0/gcc/main.cc:39

As stands, Ive no clue how to identify what source
code corresponds to the activity.

For reference:

/* This routine is called at the end of compilation.
   Its job is to create all the code needed to initialize and
   destroy the global aggregates.  We do the destruction
   first, since that way we only need to reverse the decls once.  */

void
c_parse_final_cleanups (void)
. . .

-- 
You are receiving this mail because:
You are the assignee for the bug.