public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/101016] New: Arm: vld1q polymorphic variants failing with __ARM_undef undefined reference error during linking.
@ 2021-06-10 14:02 sripar01 at gcc dot gnu.org
2021-06-10 14:03 ` [Bug target/101016] " sripar01 at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: sripar01 at gcc dot gnu.org @ 2021-06-10 14:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101016
Bug ID: 101016
Summary: Arm: vld1q polymorphic variants failing with
__ARM_undef undefined reference error during linking.
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: sripar01 at gcc dot gnu.org
Target Milestone: ---
The following testcase test.c is failing with undefined reference to
`__ARM_undef' at linking.
$cat test.c
#include "arm_mve.h"
void fn1() {
uint32_t orgOffsetArray[1];
vld1q(orgOffsetArray);
}
$arm-none-eabi-gcc test.c -mcpu=cortex-m55 -mfloat-abi=hard
--specs=rdimon.specs
/media/sripar01/2tb_work/CDE/build-arm-none-eabi/install/lib/gcc/arm-none-eabi/12.0.0/../../../../arm-none-eabi/bin/ld:
/media/sripar01/2tb_work/CDE/build-arm-none-eabi/install/lib/gcc/arm-none-eabi/12.0.0/../../../../arm-none-eabi/lib/thumb/v8-m.main+dp/hard/rdimon-crt0.o:
in function `_mainCRTStartup':
/media/sripar01/2tb_work/CDE/src/newlib-cygwin/libgloss/arm/crt0.S:545:
undefined reference to `main'
/media/sripar01/2tb_work/CDE/build-arm-none-eabi/install/lib/gcc/arm-none-eabi/12.0.0/../../../../arm-none-eabi/bin/ld:
/tmp/ccqfgEBM.o: in function `fn1':
test.c:(.text+0x1c): undefined reference to `__ARM_undef'
collect2: error: ld returned 1 exit status
$arm-none-eabi-gcc -v
Using built-in specs.
COLLECT_GCC=/media/sripar01/2tb_work/CDE/build-arm-none-eabi/install/bin/arm-none-eabi-gcc
COLLECT_LTO_WRAPPER=/media/sripar01/2tb_work/CDE/build-arm-none-eabi/install/libexec/gcc/arm-none-eabi/12.0.0/lto-wrapper
Target: arm-none-eabi
Configured with: /media/sripar01/2tb_work/CDE/src/gcc/configure
--target=arm-none-eabi
--prefix=/media/sripar01/2tb_work/CDE/build-arm-none-eabi/install//
--with-gmp=/media/sripar01/2tb_work/CDE/build-arm-none-eabi/host-tools
--with-mpfr=/media/sripar01/2tb_work/CDE/build-arm-none-eabi/host-tools
--with-mpc=/media/sripar01/2tb_work/CDE/build-arm-none-eabi/host-tools
--with-isl=/media/sripar01/2tb_work/CDE/build-arm-none-eabi/host-tools
--disable-shared --disable-nls --disable-threads --disable-tls
--enable-checking=yes --enable-languages=c,c++,fortran --with-newlib
--with-multilib-list=rmprofile --with-pkgversion=unknown
Thread model: single
Supported LTO compression algorithms: zlib
gcc version 12.0.0 20210608 (experimental) (unknown)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/101016] Arm: vld1q polymorphic variants failing with __ARM_undef undefined reference error during linking.
2021-06-10 14:02 [Bug target/101016] New: Arm: vld1q polymorphic variants failing with __ARM_undef undefined reference error during linking sripar01 at gcc dot gnu.org
@ 2021-06-10 14:03 ` sripar01 at gcc dot gnu.org
2021-06-11 17:12 ` [Bug target/101016] Arm: vld1q polymorphic variants failing with undefined reference to `__ARM_undef` error cvs-commit at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: sripar01 at gcc dot gnu.org @ 2021-06-10 14:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101016
SRINATH PARVATHANENI <sripar01 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |sripar01 at gcc dot gnu.org
Status|UNCONFIRMED |ASSIGNED
Known to fail| |10.3.0, 11.1.0
Last reconfirmed| |2021-06-10
Ever confirmed|0 |1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/101016] Arm: vld1q polymorphic variants failing with undefined reference to `__ARM_undef` error.
2021-06-10 14:02 [Bug target/101016] New: Arm: vld1q polymorphic variants failing with __ARM_undef undefined reference error during linking sripar01 at gcc dot gnu.org
2021-06-10 14:03 ` [Bug target/101016] " sripar01 at gcc dot gnu.org
@ 2021-06-11 17:12 ` cvs-commit at gcc dot gnu.org
2021-06-18 15:47 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-06-11 17:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101016
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by SRINATH PARVATHANENI
<sripar01@gcc.gnu.org>:
https://gcc.gnu.org/g:b13f297f01c943aa167f7c6eb94bed40dce0d553
commit r12-1395-gb13f297f01c943aa167f7c6eb94bed40dce0d553
Author: Srinath Parvathaneni <srinath.parvathaneni@arm.com>
Date: Fri Jun 11 18:11:58 2021 +0100
arm: Fix polymorphic variants failing with undefined reference to
`__ARM_undef` error.
This patch fixes the issue mentioned in PR101016, which is mve polymorphic
variants
failing at linking with undefined reference to "__ARM_undef" error.
gcc/ChangeLog:
2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
PR target/101016
* config/arm/arm_mve.h (__arm_vld1q): Change __ARM_mve_coerce(p0,
int8_t const *) to __ARM_mve_coerce1(p0, int8_t *) in the argument
for
the polymorphic variants matching code.
(__arm_vld1q_z): Likewise.
(__arm_vld2q): Likewise.
(__arm_vld4q): Likewise.
(__arm_vldrbq_gather_offset): Likewise.
(__arm_vldrbq_gather_offset_z): Likewise.
gcc/testsuite/ChangeLog:
2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
PR target/101016
* gcc.target/arm/mve/intrinsics/pr101016.c: New test.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/101016] Arm: vld1q polymorphic variants failing with undefined reference to `__ARM_undef` error.
2021-06-10 14:02 [Bug target/101016] New: Arm: vld1q polymorphic variants failing with __ARM_undef undefined reference error during linking sripar01 at gcc dot gnu.org
2021-06-10 14:03 ` [Bug target/101016] " sripar01 at gcc dot gnu.org
2021-06-11 17:12 ` [Bug target/101016] Arm: vld1q polymorphic variants failing with undefined reference to `__ARM_undef` error cvs-commit at gcc dot gnu.org
@ 2021-06-18 15:47 ` cvs-commit at gcc dot gnu.org
2021-06-18 15:49 ` cvs-commit at gcc dot gnu.org
2021-06-18 15:53 ` sripar01 at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-06-18 15:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101016
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by SRINATH PARVATHANENI
<sripar01@gcc.gnu.org>:
https://gcc.gnu.org/g:d4eafcd3d3b0dade7b61468dc546bcfadf8993ef
commit r11-8619-gd4eafcd3d3b0dade7b61468dc546bcfadf8993ef
Author: Srinath Parvathaneni <srinath.parvathaneni@arm.com>
Date: Fri Jun 11 18:11:58 2021 +0100
arm: Fix polymorphic variants failing with undefined reference to
`__ARM_undef` error.
This patch fixes the issue mentioned in PR101016, which is mve polymorphic
variants
failing at linking with undefined reference to "__ARM_undef" error.
gcc/ChangeLog:
2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
PR target/101016
* config/arm/arm_mve.h (__arm_vld1q): Change __ARM_mve_coerce(p0,
int8_t const *) to __ARM_mve_coerce1(p0, int8_t *) in the argument
for
the polymorphic variants matching code.
(__arm_vld1q_z): Likewise.
(__arm_vld2q): Likewise.
(__arm_vld4q): Likewise.
(__arm_vldrbq_gather_offset): Likewise.
(__arm_vldrbq_gather_offset_z): Likewise.
gcc/testsuite/ChangeLog:
2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
PR target/101016
* gcc.target/arm/mve/intrinsics/pr101016.c: New test.
(cherry picked from commit b13f297f01c943aa167f7c6eb94bed40dce0d553)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/101016] Arm: vld1q polymorphic variants failing with undefined reference to `__ARM_undef` error.
2021-06-10 14:02 [Bug target/101016] New: Arm: vld1q polymorphic variants failing with __ARM_undef undefined reference error during linking sripar01 at gcc dot gnu.org
` (2 preceding siblings ...)
2021-06-18 15:47 ` cvs-commit at gcc dot gnu.org
@ 2021-06-18 15:49 ` cvs-commit at gcc dot gnu.org
2021-06-18 15:53 ` sripar01 at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-06-18 15:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101016
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by SRINATH PARVATHANENI
<sripar01@gcc.gnu.org>:
https://gcc.gnu.org/g:9ea29759feb45c4418a2eebb212368f49e3e179d
commit r10-9943-g9ea29759feb45c4418a2eebb212368f49e3e179d
Author: Srinath Parvathaneni <srinath.parvathaneni@arm.com>
Date: Fri Jun 11 18:11:58 2021 +0100
arm: Fix polymorphic variants failing with undefined reference to
`__ARM_undef` error.
This patch fixes the issue mentioned in PR101016, which is mve polymorphic
variants
failing at linking with undefined reference to "__ARM_undef" error.
gcc/ChangeLog:
2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
PR target/101016
* config/arm/arm_mve.h (__arm_vld1q): Change __ARM_mve_coerce(p0,
int8_t const *) to __ARM_mve_coerce1(p0, int8_t *) in the argument
for
the polymorphic variants matching code.
(__arm_vld1q_z): Likewise.
(__arm_vld2q): Likewise.
(__arm_vld4q): Likewise.
(__arm_vldrbq_gather_offset): Likewise.
(__arm_vldrbq_gather_offset_z): Likewise.
gcc/testsuite/ChangeLog:
2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
PR target/101016
* gcc.target/arm/mve/intrinsics/pr101016.c: New test.
(cherry picked from commit b13f297f01c943aa167f7c6eb94bed40dce0d553)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/101016] Arm: vld1q polymorphic variants failing with undefined reference to `__ARM_undef` error.
2021-06-10 14:02 [Bug target/101016] New: Arm: vld1q polymorphic variants failing with __ARM_undef undefined reference error during linking sripar01 at gcc dot gnu.org
` (3 preceding siblings ...)
2021-06-18 15:49 ` cvs-commit at gcc dot gnu.org
@ 2021-06-18 15:53 ` sripar01 at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: sripar01 at gcc dot gnu.org @ 2021-06-18 15:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101016
SRINATH PARVATHANENI <sripar01 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #4 from SRINATH PARVATHANENI <sripar01 at gcc dot gnu.org> ---
Fixed
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-06-18 15:53 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-10 14:02 [Bug target/101016] New: Arm: vld1q polymorphic variants failing with __ARM_undef undefined reference error during linking sripar01 at gcc dot gnu.org
2021-06-10 14:03 ` [Bug target/101016] " sripar01 at gcc dot gnu.org
2021-06-11 17:12 ` [Bug target/101016] Arm: vld1q polymorphic variants failing with undefined reference to `__ARM_undef` error cvs-commit at gcc dot gnu.org
2021-06-18 15:47 ` cvs-commit at gcc dot gnu.org
2021-06-18 15:49 ` cvs-commit at gcc dot gnu.org
2021-06-18 15:53 ` sripar01 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).