[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#781083: marked as done (compiles fail with arm_neon.h )



Your message dated Sun, 29 May 2016 01:12:19 +0000
with message-id <[🔎] E1b6pH9-0007Yi-Sf@franck.debian.org>
and subject line Bug#825592: Removed package(s) from unstable
has caused the Debian Bug report #781083,
regarding compiles fail with arm_neon.h 
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
781083: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=781083
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gcc-4.9-aarch64-linux-gnu
Version: 4.9.2-10
Severity: normal

The command: aarch64-linux-gnu-gcc -static -o test arm_neon_sample.c

Works native aarch64-linux-gnu-gcc in sid, as well with cross-gcc provided by linaro (9-2014.09). Cross-compiler in this package fails:

aarch64-linux-gnu-gcc -o test arm_neon_sample.c In file included from arm_neon_sample.c:2:0: /usr/lib/gcc/aarch64-linux-gnu/4.9/include/arm_neon.h: In function 'vqadd_u8': /usr/lib/gcc/aarch64-linux-gnu/4.9/include/arm_neon.h:2116:3: error: incompatible types when returning type 'int' but 'uint8x8_t' was expected
  return __builtin_aarch64_uqaddv8qi_uuu (__a, __b);
  ^
/usr/lib/gcc/aarch64-linux-gnu/4.9/include/arm_neon.h: In function 'vqadd_u16': /usr/lib/gcc/aarch64-linux-gnu/4.9/include/arm_neon.h:2122:3: error: incompatible types when returning type 'int' but 'uint16x4_t' was expected
  return __builtin_aarch64_uqaddv4hi_uuu (__a, __b);
  ^
...

Actual arm_neon.h comes from libgcc-4.9-dev:arm64 so I think this is something that got misconfigured while compiling the cross-compiker
Riku
#include <stdio.h>
#include <arm_neon.h> //need to include this ifyou want to use intrinsics
int main(){
//vector addition 8x8 example.
uint8x8_t vec_a, vec_b, vec_dest; //a vector of 8 8bit ints
vec_a = vdup_n_u8(9);
vec_b = vdup_n_u8(10);
vec_dest = vec_a * vec_b; //90
vec_a = vec_dest * vec_b; //90*10 = 900
vec_dest = vec_a * vec_b; //900*10 = 9000
int i = 0;
int result;
result = vget_lane_u8( vec_dest, 0 );
printf( "Lane %d: %d\n", i, result );
i++;
result = vget_lane_u8( vec_dest, 1 );
printf( "Lane %d: %d\n", i, result );
i++;
result = vget_lane_u8( vec_dest, 2 );
printf( "Lane %d: %d\n", i, result );
i++;
result = vget_lane_u8( vec_dest, 3 );
printf( "Lane %d: %d\n", i, result );
i++;
result = vget_lane_u8( vec_dest, 4 );
printf( "Lane %d: %d\n", i, result );
i++;
result = vget_lane_u8( vec_dest, 5 );
printf( "Lane %d: %d\n", i, result );
i++;
result = vget_lane_u8( vec_dest, 6 );
printf( "Lane %d: %d\n", i, result );
i++;
result = vget_lane_u8( vec_dest, 7 );
printf( "Lane %d: %d\n", i, result );
}

--- End Message ---
--- Begin Message ---
Version: 54+rm

Dear submitter,

as the package cross-gcc-4.9-arm64 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/825592

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply to: