public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/109051] New: Configure takes long time for multibuild of run-time libraries
@ 2023-03-07 12:32 marxin at gcc dot gnu.org
  2023-03-07 12:34 ` [Bug bootstrap/109051] " marxin at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2023-03-07 12:32 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109051

            Bug ID: 109051
           Summary: Configure takes long time for multibuild of run-time
                    libraries
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-linux-gnu
            Target: arm-linux-gnueabi

I've just noticed that a slower cross compiler build can be killer by a builder
service:

[   24s] + ../configure --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++ --enable-checking=release --disable-werror
--with-gxx-include-dir=/usr/include/c++/13
--with-libstdcxx-zoneinfo=/usr/share/zoneinfo --enable-ssp --disable-libssp
--disable-libvtv --enable-cet=auto --disable-libcc1 --disable-plugin
--with-bugurl=https://bugs.opensuse.org/ '--with-pkgversion=SUSE Linux'
--with-slibdir=/usr/arm-suse-linux-gnueabi/sys-root/lib64 --with-system-zlib
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--enable-version-specific-runtime-libs --with-gcc-major-version-only
--enable-linux-futex --enable-gnu-indirect-function --program-suffix=-13
--program-prefix=arm-none-eabi- --target=arm-none-eabi --disable-nls
--with-sysroot=/usr/arm-suse-linux-gnueabi/sys-root
--with-build-sysroot=/usr/arm-suse-linux-gnueabi/sys-root
--with-build-time-tools=/usr/arm-suse-linux-gnueabi/bin --with-newlib
--enable-multilib --with-multilib-list=aprofile,rmprofile
--disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap
--disable-libquadmath --disable-shared --disable-threads --disable-tls
--disable-bootstrap --enable-link-mutex --disable-libsanitizer
--build=x86_64-suse-linux --host=x86_64-suse-linux
...
[ 1113s]   esac;                                                        \
[ 1113s] done
[ 1113s] make[3]: Leaving directory
'/home/abuild/rpmbuild/BUILD/gcc-13.0.1+git6506/obj-x86_64-suse-linux/arm-none-eabi/libgcc'
[ 1762s] make[1]: Entering directory
'/home/abuild/rpmbuild/BUILD/gcc-13.0.1+git6506/obj-x86_64-suse-linux'
[ 1762s] Checking multilib configuration for libstdc++-v3...
[ 1762s] mkdir -p -- arm-none-eabi/libstdc++-v3
[ 1762s] Configuring in arm-none-eabi/libstdc++-v3

As seen, at this place there's no output and the step takes 600s on a pretty
fast machine. So please, emit an output so that it doesn't get killer by a
builder.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/109051] Configure takes long time for multibuild of run-time libraries
  2023-03-07 12:32 [Bug bootstrap/109051] New: Configure takes long time for multibuild of run-time libraries marxin at gcc dot gnu.org
@ 2023-03-07 12:34 ` marxin at gcc dot gnu.org
  2023-03-07 12:38 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2023-03-07 12:34 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109051

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu.org

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Build example where it's killed:
https://build.opensuse.org/package/live_build_log/devel:gcc:next/gcc13:cross-arm-none-gcc13/openSUSE_Factory_ARM/aarch64

[13016s] make[3]: Leaving directory
'/home/abuild/rpmbuild/BUILD/gcc-13.0.1+git6506/obj-aarch64-suse-linux/arm-none-eabi/libgcc'
[18421s] qemu-system-aarch64: terminating on signal 15 from pid 48801 (<unknown
process>)


Job seems to be stuck here, killed. (after 5400 seconds of inactivity)
[18425s] ### VM INTERACTION END ###

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/109051] Configure takes long time for multibuild of run-time libraries
  2023-03-07 12:32 [Bug bootstrap/109051] New: Configure takes long time for multibuild of run-time libraries marxin at gcc dot gnu.org
  2023-03-07 12:34 ` [Bug bootstrap/109051] " marxin at gcc dot gnu.org
@ 2023-03-07 12:38 ` rguenth at gcc dot gnu.org
  2023-03-07 12:41 ` marxin at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-03-07 12:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109051

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Are you sure it's not really stuck?  Is it linking many target libs in
parallel?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/109051] Configure takes long time for multibuild of run-time libraries
  2023-03-07 12:32 [Bug bootstrap/109051] New: Configure takes long time for multibuild of run-time libraries marxin at gcc dot gnu.org
  2023-03-07 12:34 ` [Bug bootstrap/109051] " marxin at gcc dot gnu.org
  2023-03-07 12:38 ` rguenth at gcc dot gnu.org
@ 2023-03-07 12:41 ` marxin at gcc dot gnu.org
  2023-03-07 13:30 ` schwab@linux-m68k.org
  2023-03-29 23:55 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2023-03-07 12:41 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109051

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #2)
> Are you sure it's not really stuck?  Is it linking many target libs in
> parallel?

Dunno, it's slow even on a reasonably fast machine, so I can imagine it can
take hours on a slow builder. It's not linking, it's running configure
serially.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/109051] Configure takes long time for multibuild of run-time libraries
  2023-03-07 12:32 [Bug bootstrap/109051] New: Configure takes long time for multibuild of run-time libraries marxin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2023-03-07 12:41 ` marxin at gcc dot gnu.org
@ 2023-03-07 13:30 ` schwab@linux-m68k.org
  2023-03-29 23:55 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: schwab@linux-m68k.org @ 2023-03-07 13:30 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109051

--- Comment #4 from Andreas Schwab <schwab@linux-m68k.org> ---
This appears to be the effect of make's output sync, and configuring umpteen
multilibs just takes a long time (3357s during the last sucessful build).

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/109051] Configure takes long time for multibuild of run-time libraries
  2023-03-07 12:32 [Bug bootstrap/109051] New: Configure takes long time for multibuild of run-time libraries marxin at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2023-03-07 13:30 ` schwab@linux-m68k.org
@ 2023-03-29 23:55 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-03-29 23:55 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109051

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
aprofile is 10 multilibs and rmprofile is 21 multilibs.
so 31 multilibs in total (if I counted correctly).

that is a lot of building in general.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-03-29 23:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-07 12:32 [Bug bootstrap/109051] New: Configure takes long time for multibuild of run-time libraries marxin at gcc dot gnu.org
2023-03-07 12:34 ` [Bug bootstrap/109051] " marxin at gcc dot gnu.org
2023-03-07 12:38 ` rguenth at gcc dot gnu.org
2023-03-07 12:41 ` marxin at gcc dot gnu.org
2023-03-07 13:30 ` schwab@linux-m68k.org
2023-03-29 23:55 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).