public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/110336] New: Ada doesn't build with coverage enabled on Arm
@ 2023-06-21 10:49 tnfchris at gcc dot gnu.org
2023-06-26 15:39 ` [Bug ada/110336] " ebotcazou at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: tnfchris at gcc dot gnu.org @ 2023-06-21 10:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110336
Bug ID: 110336
Summary: Ada doesn't build with coverage enabled on Arm
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Keywords: build
Severity: normal
Priority: P3
Component: ada
Assignee: unassigned at gcc dot gnu.org
Reporter: tnfchris at gcc dot gnu.org
CC: dkm at gcc dot gnu.org
Target Milestone: ---
Host: arm-none-linux-gnueabihf
Target: arm-none-linux-gnueabihf
Build: arm-none-linux-gnueabihf
When building Ada with coverage enabled using
./configure --target=arm-none-linux-gnueabihf --build=arm-none-linux-gnueabihf
--host=arm-none-linux-gnueabihf --with-arch=armv7-a --with-fpu=neon
--with-float=hard --with-mode=thumb --disable-bootstrap --enable-coverage=opt
--enable-languages=all --enable-host-shared
the build fails with lots of link errors:
/usr/bin/ld: ../../libcommon-target.a(vec.o): in function `_sub_I_00100_0':
vec.cc:(.text.startup+0x44): undefined reference to `__gcov_init'
/usr/bin/ld: ../../libcommon-target.a(vec.o): in function `_sub_D_00100_1':
vec.cc:(.text.exit+0x0): undefined reference to `__gcov_exit'
/usr/bin/ld: ../../libcommon-target.a(vec.o):(.data.rel+0x10): undefined
reference to `__gcov_merge_add'
/usr/bin/ld: ../../libcommon-target.a(hooks.o): in function `_sub_I_00100_0':
hooks.cc:(.text.startup+0x4): undefined reference to `__gcov_init'
/usr/bin/ld: ../../libcommon-target.a(hooks.o): in function `_sub_D_00100_1':
hooks.cc:(.text.exit+0x0): undefined reference to `__gcov_exit'
seems like libgcov is missing somewhere?
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug ada/110336] Ada doesn't build with coverage enabled on Arm
2023-06-21 10:49 [Bug ada/110336] New: Ada doesn't build with coverage enabled on Arm tnfchris at gcc dot gnu.org
@ 2023-06-26 15:39 ` ebotcazou at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2023-06-26 15:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110336
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
CC| |ebotcazou at gcc dot gnu.org
Last reconfirmed| |2023-06-26
--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Yes, there are no traces of coverage support in the Ada Makefiles.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-26 15:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-21 10:49 [Bug ada/110336] New: Ada doesn't build with coverage enabled on Arm tnfchris at gcc dot gnu.org
2023-06-26 15:39 ` [Bug ada/110336] " ebotcazou 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).