From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9BA3541DFF; Sun, 12 Mar 2023 13:20:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 528B940F18; Sun, 12 Mar 2023 13:20:53 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 10FD1406A2 for ; Sun, 12 Mar 2023 13:20:52 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id EEA3541E00; Sun, 12 Mar 2023 13:20:51 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 1179] lib/mldev build failure on aarch64 with gcc 4.8 Date: Sun, 12 Mar 2023 12:20:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: other X-Bugzilla-Version: 23.03 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alialnu@nvidia.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: multipart/alternative; boundary=16786236510.BBEc8.3763445 Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --16786236510.BBEc8.3763445 Date: Sun, 12 Mar 2023 13:20:51 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All https://bugs.dpdk.org/show_bug.cgi?id=3D1179 Bug ID: 1179 Summary: lib/mldev build failure on aarch64 with gcc 4.8 Product: DPDK Version: 23.03 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: other Assignee: dev@dpdk.org Reporter: alialnu@nvidia.com Target Milestone: --- ``` [..] lib/mldev/mldev_utils_neon.c: In function '__float32_to_int8_neon_s8x1': lib/mldev/mldev_utils_neon.c:62:2: error: implicit declaration of function 'vcvtas_s32_f32' [-Werror=3Dimplicit-function-declaration] s32 =3D vcvtas_s32_f32(scale * (*input)); ^ lib/mldev/mldev_utils_neon.c:62:2: error: nested extern declaration of 'vcvtas_s32_f32' [-Werror=3Dnested-externs] lib/mldev/mldev_utils_neon.c: In function '__int8_to_float32_neon_f32x1': lib/mldev/mldev_utils_neon.c:139:2: error: implicit declaration of function 'vcvts_f32_s32' [-Werror=3Dimplicit-function-declaration] *output =3D scale * vcvts_f32_s32((int32_t)*input); ^ lib/mldev/mldev_utils_neon.c:139:2: error: nested extern declaration of 'vcvts_f32_s32' [-Werror=3Dnested-externs] lib/mldev/mldev_utils_neon.c: In function '__float32_to_uint8_neon_u8x1': lib/mldev/mldev_utils_neon.c:220:2: error: implicit declaration of function 'vcvtas_u32_f32' [-Werror=3Dimplicit-function-declaration] u32 =3D vcvtas_u32_f32(scale * (*input)); ^ lib/mldev/mldev_utils_neon.c:220:2: error: nested extern declaration of 'vcvtas_u32_f32' [-Werror=3Dnested-externs] lib/mldev/mldev_utils_neon.c: In function '__uint8_to_float32_neon_f32x1': lib/mldev/mldev_utils_neon.c:297:2: error: implicit declaration of function 'vcvts_f32_u32' [-Werror=3Dimplicit-function-declaration] *output =3D scale * vcvts_f32_u32((uint32_t)*input); ^ lib/mldev/mldev_utils_neon.c:297:2: error: nested extern declaration of 'vcvts_f32_u32' [-Werror=3Dnested-externs] lib/mldev/mldev_utils_neon.c: At top level: lib/mldev/mldev_utils_neon.c:604:51: error: unknown type name 'float16_t' __float32_to_float16_neon_f16x4(float32_t *input, float16_t *output) ^ lib/mldev/mldev_utils_neon.c:620:51: error: unknown type name 'float16_t' __float32_to_float16_neon_f16x1(float32_t *input, float16_t *output) ^ lib/mldev/mldev_utils_neon.c: In function 'rte_ml_io_float32_to_float16': lib/mldev/mldev_utils_neon.c:639:2: error: unknown type name 'float16_t' float16_t *output_buffer; ^ lib/mldev/mldev_utils_neon.c:648:19: error: 'float16_t' undeclared (first u= se in this function) output_buffer =3D (float16_t *)output; ^ lib/mldev/mldev_utils_neon.c:648:19: note: each undeclared identifier is reported only once for each function it appears in lib/mldev/mldev_utils_neon.c:648:30: error: expected expression before ')' token output_buffer =3D (float16_t *)output; ^ lib/mldev/mldev_utils_neon.c:654:3: error: implicit declaration of function '__float32_to_float16_neon_f16x4' [-Werror=3Dimplicit-function-declaration] __float32_to_float16_neon_f16x4(input_buffer, output_buffer); ^ lib/mldev/mldev_utils_neon.c:654:3: error: nested extern declaration of '__float32_to_float16_neon_f16x4' [-Werror=3Dnested-externs] lib/mldev/mldev_utils_neon.c:662:3: error: implicit declaration of function '__float32_to_float16_neon_f16x1' [-Werror=3Dimplicit-function-declaration] __float32_to_float16_neon_f16x1(input_buffer, output_buffer); ^ lib/mldev/mldev_utils_neon.c:662:3: error: nested extern declaration of '__float32_to_float16_neon_f16x1' [-Werror=3Dnested-externs] lib/mldev/mldev_utils_neon.c: At top level: lib/mldev/mldev_utils_neon.c:671:33: error: unknown type name 'float16_t' __float16_to_float32_neon_f32x4(float16_t *input, float32_t *output) ^ lib/mldev/mldev_utils_neon.c:687:33: error: unknown type name 'float16_t' __float16_to_float32_neon_f32x1(float16_t *input, float32_t *output) ^ lib/mldev/mldev_utils_neon.c: In function 'rte_ml_io_float16_to_float32': lib/mldev/mldev_utils_neon.c:705:2: error: unknown type name 'float16_t' float16_t *input_buffer; ^ lib/mldev/mldev_utils_neon.c:714:18: error: 'float16_t' undeclared (first u= se in this function) input_buffer =3D (float16_t *)input; ^ lib/mldev/mldev_utils_neon.c:714:29: error: expected expression before ')' token input_buffer =3D (float16_t *)input; ^ lib/mldev/mldev_utils_neon.c:721:3: error: implicit declaration of function '__float16_to_float32_neon_f32x4' [-Werror=3Dimplicit-function-declaration] __float16_to_float32_neon_f32x4(input_buffer, output_buffer); ^ lib/mldev/mldev_utils_neon.c:721:3: error: nested extern declaration of '__float16_to_float32_neon_f32x4' [-Werror=3Dnested-externs] lib/mldev/mldev_utils_neon.c:729:3: error: implicit declaration of function '__float16_to_float32_neon_f32x1' [-Werror=3Dimplicit-function-declaration] __float16_to_float32_neon_f32x1(input_buffer, output_buffer); ^ lib/mldev/mldev_utils_neon.c:729:3: error: nested extern declaration of '__float16_to_float32_neon_f32x1' [-Werror=3Dnested-externs] cc1: all warnings being treated as errors [..] ``` OS: CentOS Linux 7 (AltArch) gcc: 4.8.5 --=20 You are receiving this mail because: You are the assignee for the bug.= --16786236510.BBEc8.3763445 Date: Sun, 12 Mar 2023 13:20:51 +0100 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All
Bug ID 1179
Summary lib/mldev build failure on aarch64 with gcc 4.8
Product DPDK
Version 23.03
Hardware All
OS All
Status UNCONFIRMED
Severity normal
Priority Normal
Component other
Assignee dev@dpdk.org
Reporter alialnu@nvidia.com
Target Milestone ---

```
[..]
lib/mldev/mldev_utils_neon.c: In function '__float32_to_int8_neon_s8x1':
lib/mldev/mldev_utils_neon.c:62:2: error: implicit declaration of function
'vcvtas_s32_f32' [-Werror=3Dimplicit-function-declaration]
  s32 =3D vcvtas_s32_f32(scale * (*input));
  ^
lib/mldev/mldev_utils_neon.c:62:2: error: nested extern declaration of
'vcvtas_s32_f32' [-Werror=3Dnested-externs]
lib/mldev/mldev_utils_neon.c: In function '__int8_to_float32_neon_f32x1':
lib/mldev/mldev_utils_neon.c:139:2: error: implicit declaration of function
'vcvts_f32_s32' [-Werror=3Dimplicit-function-declaration]
  *output =3D scale * vcvts_f32_s32((int32_t)*input);
  ^
lib/mldev/mldev_utils_neon.c:139:2: error: nested extern declaration of
'vcvts_f32_s32' [-Werror=3Dnested-externs]
lib/mldev/mldev_utils_neon.c: In function '__float32_to_uint8_neon_u8x1':
lib/mldev/mldev_utils_neon.c:220:2: error: implicit declaration of function
'vcvtas_u32_f32' [-Werror=3Dimplicit-function-declaration]
  u32 =3D vcvtas_u32_f32(scale * (*input));
  ^
lib/mldev/mldev_utils_neon.c:220:2: error: nested extern declaration of
'vcvtas_u32_f32' [-Werror=3Dnested-externs]
lib/mldev/mldev_utils_neon.c: In function '__uint8_to_float32_neon_f32x1':
lib/mldev/mldev_utils_neon.c:297:2: error: implicit declaration of function
'vcvts_f32_u32' [-Werror=3Dimplicit-function-declaration]
  *output =3D scale * vcvts_f32_u32((uint32_t)*input);
  ^
lib/mldev/mldev_utils_neon.c:297:2: error: nested extern declaration of
'vcvts_f32_u32' [-Werror=3Dnested-externs]
lib/mldev/mldev_utils_neon.c: At top level:
lib/mldev/mldev_utils_neon.c:604:51: error: unknown type name 'float16_t'
 __float32_to_float16_neon_f16x4(float32_t *input, float16_t *output)
                                                   ^
lib/mldev/mldev_utils_neon.c:620:51: error: unknown type name 'float16_t'
 __float32_to_float16_neon_f16x1(float32_t *input, float16_t *output)
                                                   ^
lib/mldev/mldev_utils_neon.c: In function 'rte_ml_io_float32_to_float16':
lib/mldev/mldev_utils_neon.c:639:2: error: unknown type name 'float16_t'
  float16_t *output_buffer;
  ^
lib/mldev/mldev_utils_neon.c:648:19: error: 'float16_t' undeclared (first u=
se
in this function)
  output_buffer =3D (float16_t *)output;
                   ^
lib/mldev/mldev_utils_neon.c:648:19: note: each undeclared identifier is
reported only once for each function it appears in
lib/mldev/mldev_utils_neon.c:648:30: error: expected expression before ')'
token
  output_buffer =3D (float16_t *)output;
                              ^
lib/mldev/mldev_utils_neon.c:654:3: error: implicit declaration of function
'__float32_to_float16_neon_f16x4' [-Werror=3Dimplicit-function-declaration]
   __float32_to_float16_neon_f16x4(input_buffer, output_buffer);
   ^
lib/mldev/mldev_utils_neon.c:654:3: error: nested extern declaration of
'__float32_to_float16_neon_f16x4' [-Werror=3Dnested-externs]
lib/mldev/mldev_utils_neon.c:662:3: error: implicit declaration of function
'__float32_to_float16_neon_f16x1' [-Werror=3Dimplicit-function-declaration]
   __float32_to_float16_neon_f16x1(input_buffer, output_buffer);
   ^
lib/mldev/mldev_utils_neon.c:662:3: error: nested extern declaration of
'__float32_to_float16_neon_f16x1' [-Werror=3Dnested-externs]
lib/mldev/mldev_utils_neon.c: At top level:
lib/mldev/mldev_utils_neon.c:671:33: error: unknown type name 'float16_t'
 __float16_to_float32_neon_f32x4(float16_t *input, float32_t *output)
                                 ^
lib/mldev/mldev_utils_neon.c:687:33: error: unknown type name 'float16_t'
 __float16_to_float32_neon_f32x1(float16_t *input, float32_t *output)
                                 ^
lib/mldev/mldev_utils_neon.c: In function 'rte_ml_io_float16_to_float32':
lib/mldev/mldev_utils_neon.c:705:2: error: unknown type name 'float16_t'
  float16_t *input_buffer;
  ^
lib/mldev/mldev_utils_neon.c:714:18: error: 'float16_t' undeclared (first u=
se
in this function)
  input_buffer =3D (float16_t *)input;
                  ^
lib/mldev/mldev_utils_neon.c:714:29: error: expected expression before ')'
token
  input_buffer =3D (float16_t *)input;
                             ^
lib/mldev/mldev_utils_neon.c:721:3: error: implicit declaration of function
'__float16_to_float32_neon_f32x4' [-Werror=3Dimplicit-function-declaration]
   __float16_to_float32_neon_f32x4(input_buffer, output_buffer);
   ^
lib/mldev/mldev_utils_neon.c:721:3: error: nested extern declaration of
'__float16_to_float32_neon_f32x4' [-Werror=3Dnested-externs]
lib/mldev/mldev_utils_neon.c:729:3: error: implicit declaration of function
'__float16_to_float32_neon_f32x1' [-Werror=3Dimplicit-function-declaration]
   __float16_to_float32_neon_f32x1(input_buffer, output_buffer);
   ^
lib/mldev/mldev_utils_neon.c:729:3: error: nested extern declaration of
'__float16_to_float32_neon_f32x1' [-Werror=3Dnested-externs]
cc1: all warnings being treated as errors
[..]
```

OS: CentOS Linux 7 (AltArch)
gcc: 4.8.5
          


You are receiving this mail because:
  • You are the assignee for the bug.
=20=20=20=20=20=20=20=20=20=20
= --16786236510.BBEc8.3763445--