[Bug 2061845] [NEW] aarch64-linux-gnu-g++-14 package is somewhat old vs g++-14 so can't test new SVE support in std::experimental::simd

2024-04-16 Thread oscarbg
Public bug reported:

Hi,
wanting to test new std::experimental::simd SVE1/2 support in GCC-14 that was 
committed on 27 march,
unfortunately current "aarch64-linux-gnu-g++-14 -v" shows :

gcc version 14.0.1 20240121 (experimental) [master r14-8314-g29f931e39f2] 
(Ubuntu 14-20240121-1ubuntu1) 
so also is not update vs current x86 gcc-14..

** Affects: gcc-14 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2061845

Title:
  aarch64-linux-gnu-g++-14  package is somewhat old vs g++-14 so can't
  test new SVE support in std::experimental::simd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-14/+bug/2061845/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2060619] Re: gcc-14 offload support for amd gfx103x and gfx110x gpus is broken

2024-04-11 Thread oscarbg
so seems fedora 40 has packaged it right

https://packages.fedoraproject.org/pkgs/gcc/gcc-offload-
nvptx/fedora-40.html#provides

x86_64-redhat-linux/14/accel/amdgcn-amdhsa/gfx1036/

crt0.o
libc.a
libcaf_single.a
libg.a
libgcc.a
libgcov.a
libgfortran.a
libgfortran.spec
libgomp.a
libgomp.spec
libm.a
libssp.a
libssp_nonshared.a

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2060619

Title:
  gcc-14 offload support for amd gfx103x and gfx110x gpus  is broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-14/+bug/2060619/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2060619] [NEW] gcc-14 offload support for amd gfx103x and gfx110x gpus is broken

2024-04-09 Thread oscarbg
Public bug reported:

Hi,

for context bug was posted here first:
https://github.com/gcc-mirror/gcc/commit/1bf18629c54adf4893c8db5227a36e1952ee69a3#commitcomment-140648051

gcc Andrew Stubbs author mentions:
"Yes, it looks like the libgomp device-side library is missing. Probably not 
listed in the packaging script?"

using gcc-14:
gcc-14 --version
gcc-14 (Ubuntu 14-20240330-1ubuntu2) 14.0.1 20240330 (experimental) [master 
r14-9728-g6fc84f680d0]

using the code posted below as sum.c

testing building with offload support on gfx1036:

gcc-14 -fopenmp -foffload=amdgcn-amdhsa -foffload-options=-march=gfx1036
-fcf-protection=none sum.c -o sumamd1030.exe

fails with:
ld: error: incompatible mach: 
/usr/lib/gcc/x86_64-linux-gnu/14/accel/amdgcn-amdhsa/libgomp.a(parallel.o)
collect2: error: ld returned 1 exit status
gcn mkoffload: fatal error: x86_64-linux-gnu-accel-amdgcn-amdhsa-gcc-14 
returned 1 exit status
compilation terminated.
lto-wrapper: fatal error: 
/usr/libexec/gcc/x86_64-linux-gnu/14//accel/amdgcn-amdhsa/mkoffload returned 1 
exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status


instead selecting gfx900 works:
gcc-14 -fopenmp -foffload=amdgcn-amdhsa -foffload-options=-march=gfx900 
-fcf-protection=none sum.c -o sumamd900.exe

note gfx103x and gfx11xx targets are new to GCC-14..

inspecting files seems the error is due to package 
gcc-14-offload-amdgcn_14-20240330-1ubuntu2_amd64.deb
missing libgomp.so files in
\usr\lib\gcc\x86_64-linux-gnu\14\accel\amdgcn-amdhsa\gfx1036 folder
but having this file in gfx9xx folders for ex:
\usr\lib\gcc\x86_64-linux-gnu\14\accel\amdgcn-amdhsa\gfx906 folder


code used:
sum.c:
#include 
#include 
#include 
#include 

int main(int argc, char *argv[]) {
long long int j, largeN;
double sum = 0.0;
clock_t tstart, tend;
int num_dev;

num_dev = omp_get_num_devices();

printf("%d\n", num_dev);

largeN = (long long int) atoll(argv[1]);

printf("Large Number = %lld\n", largeN);

tstart = clock();
#pragma omp parallel for private(j) reduction(+:sum)
for(j=1; jhttps://bugs.launchpad.net/bugs/2060619

Title:
  gcc-14 offload support for amd gfx103x and gfx110x gpus  is broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-14/+bug/2060619/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1830961] Re: Kernels & kernel drivers fail to build with gcc-9 [error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible]

2019-07-20 Thread oscarbg
+1 for fixing mainline kernel builds.. been broken for almost two weeks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1830961

Title:
  Kernels & kernel drivers fail to build with gcc-9 [error: ‘-mindirect-
  branch’ and ‘-fcf-protection’ are not compatible]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-9/+bug/1830961/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1830961] Re: Kernels & kernel drivers fail to build with gcc-9 [error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible]

2019-07-20 Thread oscarbg
maybe Seth Forshee  is the guy to ask

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1830961

Title:
  Kernels & kernel drivers fail to build with gcc-9 [error: ‘-mindirect-
  branch’ and ‘-fcf-protection’ are not compatible]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-9/+bug/1830961/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs