[Bug 1895358] Re: [Bug] A simple code including tgmath.h cannot be compiled with icc with Ubuntu 20.04 OS

2022-01-05 Thread James Grey
> I'm starting to suspect that. Note that the bug as filed is with icc, not 
> clang.
Indeed. That's why I wanted to see the fix, I assume some ifdef logic was used, 
so I could try to apply that fix to my case.  But tbh I figured out that my 
code's include of tgmath.h was extraneous, so I just removed it and everything 
seems to be fine on my end.

> Do you have a shareable test case?
I don't have a quick test I can share right now. I can share the scenario:

1) Install CodeChecker dependencies:
sudo apt-get install automake bison flex g++ git libboost-all-dev libevent-dev 
libssl-dev libtool make pkg-config

2) Install CodeChecker:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade (reboot if does anything)
sudo npm install -g npm
sudo apt-get install automake bison flex g++ git libboost-all-dev libevent-dev 
libssl-dev libtool make pkg-config
sudo apt-get install clang clang-tidy clang-tools build-essential curl 
gcc-multilib git python3-dev python3-venv
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs
git clone https://github.com/Ericsson/CodeChecker.git --depth 1 ~/codechecker
cd ~/codechecker
make package
cd ..

3) Add $HOME/codechecker/build/CodeChecker/bin to your PATH like example below
export 
PATH=$HOME/bin:$PHOME/bin:/usr/local/go/bin:$GOROOT/bin:$HOME/codechecker/build/CodeChecker/bin:$PATH

4) Have a piece of C code that includes tgmath.h, and run Codechecker on it 
like below:
CodeChecker log --build "make" --output ~/my_test_compile_commands.json
CodeChecker analyze ~/my_test_compile_commands.json --enable-all --enable 
sensitive --output ~/cc-my_test

At this point you'll see the clang-diagnostic-error message about an
unsupported combination of types.

As I said I have a workaround already, which is to not use tgmath.h
(lol).  But maybe this will help someone else.  Thanks for your
attention!

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

Title:
  [Bug] A simple code including tgmath.h cannot be compiled with icc
  with Ubuntu 20.04 OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1895358/+subscriptions


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

[Bug 1895358] Re: [Bug] A simple code including tgmath.h cannot be compiled with icc with Ubuntu 20.04 OS

2022-01-05 Thread Dan Bungert
> I guess it's possible I ran into the same issue from a different angle
I'm starting to suspect that.  Note that the bug as filed is with icc, not 
clang.

Do you have a shareable test case?  Running focal clang against the test
case listed in the description on this bug seems to work, as does icc
when I did the steps from here https://estuarine.jp/2021/03/install-
oneapi/?lang=en.

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

Title:
  [Bug] A simple code including tgmath.h cannot be compiled with icc
  with Ubuntu 20.04 OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1895358/+subscriptions


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

[Bug 1895358] Re: [Bug] A simple code including tgmath.h cannot be compiled with icc with Ubuntu 20.04 OS

2022-01-04 Thread James Grey
I am using the latest libc6-dev, 2.31-0ubuntu9.2. I guess it's possible
I ran into the same issue from a different angle, so to speak, and that
the fix does not cover my corner case, which is running clang-tidy and
clang-sa against clang compiled code.  The initial compile works fine
but the analysis stage throws a clang-diagnostic-error when it tries to
analyze files that include tgmath.h, which is why I'm here. Even looking
at newer versions on http://ftp.gnu.org/gnu/libc/?C=M;O=D I don't seen
any change in the tgmath.h file from 2.31 to 2.34. I'm at a loss as to
when and how this was fixed, and where I can access the fix.

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

Title:
  [Bug] A simple code including tgmath.h cannot be compiled with icc
  with Ubuntu 20.04 OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1895358/+subscriptions


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

[Bug 1895358] Re: [Bug] A simple code including tgmath.h cannot be compiled with icc with Ubuntu 20.04 OS

2022-01-04 Thread Dan Bungert
@James Grey - it looks like the fix for this was done as an update to
2.31 rather than updating focal to 2.32 outright, which would presumably
be very disruptive.  You may wish to check the 2.31-0ubuntu9.2 (or
later) version of the package.

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

Title:
  [Bug] A simple code including tgmath.h cannot be compiled with icc
  with Ubuntu 20.04 OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1895358/+subscriptions


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

[Bug 1895358] Re: [Bug] A simple code including tgmath.h cannot be compiled with icc with Ubuntu 20.04 OS

2022-01-04 Thread James Grey
This bug is marked as Fix Released in Focal (20.04) but it is not fixed
as of January 22.  libc6-dev, the package that provides tgmath.h is
still 2.31, and it seems the fix was introduced in 2.32, which is not
available on 20.04 repos.

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

Title:
  [Bug] A simple code including tgmath.h cannot be compiled with icc
  with Ubuntu 20.04 OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1895358/+subscriptions


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

[Bug 1895358] Re: [Bug] A simple code including tgmath.h cannot be compiled with icc with Ubuntu 20.04 OS

2021-07-28 Thread Brian Murray
The Groovy Gorilla has reached end of life, so this bug will not be
fixed for that release

** Changed in: glibc (Ubuntu Groovy)
   Status: Fix Committed => Won't Fix

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

Title:
  [Bug] A simple code including tgmath.h cannot be compiled with icc
  with Ubuntu 20.04 OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1895358/+subscriptions


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

[Bug 1895358] Re: [Bug] A simple code including tgmath.h cannot be compiled with icc with Ubuntu 20.04 OS

2021-06-12 Thread Balint Reczey
** Changed in: glibc (Ubuntu Groovy)
 Assignee: Balint Reczey (rbalint) => (unassigned)

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

Title:
  [Bug] A simple code including tgmath.h cannot be compiled with icc
  with Ubuntu 20.04 OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1895358/+subscriptions

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

[Bug 1895358] Re: [Bug] A simple code including tgmath.h cannot be compiled with icc with Ubuntu 20.04 OS

2021-04-08 Thread Łukasz Zemczak
Hello pragyansri.pa...@intel.com, or anyone else affected,

Accepted glibc into groovy-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/glibc/2.32-0ubuntu3.2
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
groovy to verification-done-groovy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-groovy. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Tags removed: verification-done verification-done-groovy
** Tags added: verification-needed verification-needed-groovy

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

Title:
  [Bug] A simple code including tgmath.h cannot be compiled with icc
  with Ubuntu 20.04 OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1895358/+subscriptions

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

[Bug 1895358] Re: [Bug] A simple code including tgmath.h cannot be compiled with icc with Ubuntu 20.04 OS

2021-01-26 Thread Mathew Hodson
** Project changed: intel => ubuntu-translations

** No longer affects: ubuntu-translations

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

Title:
  [Bug] A simple code including tgmath.h cannot be compiled with icc
  with Ubuntu 20.04 OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1895358/+subscriptions

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

[Bug 1895358] Re: [Bug] A simple code including tgmath.h cannot be compiled with icc with Ubuntu 20.04 OS

2021-01-26 Thread Brian Murray
** Tags added: block-proposed-groovy

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

Title:
  [Bug] A simple code including tgmath.h cannot be compiled with icc
  with Ubuntu 20.04 OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/intel/+bug/1895358/+subscriptions

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

[Bug 1895358] Re: [Bug] A simple code including tgmath.h cannot be compiled with icc with Ubuntu 20.04 OS

2021-01-26 Thread Launchpad Bug Tracker
This bug was fixed in the package glibc - 2.31-0ubuntu9.2

---
glibc (2.31-0ubuntu9.2) focal; urgency=medium

  * Drop check preventing using float128 which breaks new icc (LP: #1895358)
  * Detect debconf consistently in libc6.preinst and do not crash if it is
not used (LP: #1902955)
  * Ship libc variant compiled for profiling in libc6-prof (LP: #1908307)
  * elf: Add endianness markup to ld.so.cache (Closes: #731082) (LP: #1906250)

 -- Balint Reczey   Wed, 16 Dec 2020 12:04:55 +0100

** Changed in: glibc (Ubuntu Focal)
   Status: Fix Committed => Fix Released

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

Title:
  [Bug] A simple code including tgmath.h cannot be compiled with icc
  with Ubuntu 20.04 OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/intel/+bug/1895358/+subscriptions

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

[Bug 1895358] Re: [Bug] A simple code including tgmath.h cannot be compiled with icc with Ubuntu 20.04 OS

2021-01-25 Thread Balint Reczey
Verified 2.31-0ubuntu9.2 on Focal:

root@ff-icc:~# /opt/intel/oneapi/compiler/2021.1.2/linux/bin/intel64/icc -c 
test.c
In file included from 
/opt/intel/oneapi/compiler/2021.1.2/linux/bin/intel64/../../compiler/include/icc/tgmath.h(25),
 from test.c(1):
/usr/include/tgmath.h(54): error: #error directive: "Unsupported combination of 
types for ."
  #  error "Unsupported combination of types for ."
 ^

compilation aborted for test.c (code 2)
root@ff-icc:~# dpkg -l libc6-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ NameVersion Architecture Description
+++-===-===--=
ii  libc6-dev:amd64 2.31-0ubuntu9.1 amd64GNU C Library: Development 
Libraries and Header Files
root@ff-icc:~# sed -i s/backports/proposed/ /etc/apt/sources.list
root@ff-icc:~# apt update
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Get:3 http://archive.ubuntu.com/ubuntu focal-proposed InRelease [267 kB]
Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease
Get:5 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages [213 
kB]
Hit:6 https://apt.repos.intel.com/oneapi all InRelease  
 
Get:7 http://archive.ubuntu.com/ubuntu focal-proposed/main Translation-en [51.6 
kB]
Get:8 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 c-n-f Metadata 
[2524 B]
Get:9 http://archive.ubuntu.com/ubuntu focal-proposed/restricted amd64 Packages 
[36.5 kB]
Get:10 http://archive.ubuntu.com/ubuntu focal-proposed/restricted 
Translation-en [5460 B]
Get:11 http://archive.ubuntu.com/ubuntu focal-proposed/restricted amd64 c-n-f 
Metadata [116 B]
Get:12 http://archive.ubuntu.com/ubuntu focal-proposed/universe amd64 Packages 
[51.9 kB]
Get:13 http://archive.ubuntu.com/ubuntu focal-proposed/universe Translation-en 
[24.3 kB]
Get:14 http://archive.ubuntu.com/ubuntu focal-proposed/universe amd64 c-n-f 
Metadata [1612 B]
Get:15 http://archive.ubuntu.com/ubuntu focal-proposed/multiverse amd64 
Packages [704 B]
Get:16 http://archive.ubuntu.com/ubuntu focal-proposed/multiverse 
Translation-en [3752 B]
Get:17 http://archive.ubuntu.com/ubuntu focal-proposed/multiverse amd64 c-n-f 
Metadata [192 B]
Fetched 658 kB in 1s (831 kB/s)  
Reading package lists... Done
Building dependency tree   
Reading state information... Done
25 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@ff-icc:~# apt install libc6-dev
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libfreetype6 libpciaccess0
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  libc-dev-bin libc6
Suggested packages:
  glibc-doc
The following packages will be upgraded:
  libc-dev-bin libc6 libc6-dev
3 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
Need to get 5306 kB of archives.
After this operation, 6144 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 libc6-dev 
amd64 2.31-0ubuntu9.2 [2520 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 libc-dev-bin 
amd64 2.31-0ubuntu9.2 [71.8 kB]
Get:3 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 libc6 amd64 
2.31-0ubuntu9.2 [2715 kB]
Fetched 5306 kB in 1s (4268 kB/s)
Preconfiguring packages ...
(Reading database ... 49023 files and directories currently installed.)
Preparing to unpack .../libc6-dev_2.31-0ubuntu9.2_amd64.deb ...
Unpacking libc6-dev:amd64 (2.31-0ubuntu9.2) over (2.31-0ubuntu9.1) ...
Preparing to unpack .../libc-dev-bin_2.31-0ubuntu9.2_amd64.deb ...
Unpacking libc-dev-bin (2.31-0ubuntu9.2) over (2.31-0ubuntu9.1) ...
Preparing to unpack .../libc6_2.31-0ubuntu9.2_amd64.deb ...
Unpacking libc6:amd64 (2.31-0ubuntu9.2) over (2.31-0ubuntu9.1) ...
Setting up libc6:amd64 (2.31-0ubuntu9.2) ...
Setting up libc-dev-bin (2.31-0ubuntu9.2) ...
Setting up libc6-dev:amd64 (2.31-0ubuntu9.2) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.1) ...
root@ff-icc:~# /opt/intel/oneapi/compiler/2021.1.2/linux/bin/intel64/icc -c 
test.c
root@ff-icc:~# dpkg -l libc6-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ NameVersion Architecture Description
+++-===-===--=
ii  libc6-dev:amd64 2.31-0ubuntu9.2 amd64GNU C Library: Development 
Libraries and Header Files

[Bug 1895358] Re: [Bug] A simple code including tgmath.h cannot be compiled with icc with Ubuntu 20.04 OS

2021-01-25 Thread Balint Reczey
Verified 2.32-0ubuntu3.1 on Groovy (using glibc binary packages binary-
copied to a PPA):

root@gg-icc:~# vi test.c
root@gg-icc:~# /opt/intel/oneapi/compiler/2021.1.2/linux/bin/intel64/icc -c 
test.c 
In file included from 
/opt/intel/oneapi/compiler/2021.1.2/linux/bin/intel64/../../compiler/include/icc/tgmath.h(25),
 from test.c(1):
/usr/include/tgmath.h(54): error: #error directive: "Unsupported combination of 
types for ."
  #  error "Unsupported combination of types for ."
 ^

compilation aborted for test.c (code 2)

root@gg-icc:~# apt upgrade 
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  libfreetype6
Use 'apt autoremove' to remove it.
The following packages will be upgraded:
  libc-bin libc-dev-bin libc6 libc6-dev locales
5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 9339 kB of archives.
After this operation, 2048 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://ppa.launchpad.net/rbalint/scratch4/ubuntu groovy/main amd64 
libc6-dev amd64 2.32-0ubuntu3.1 [2130 kB]
Get:2 http://ppa.launchpad.net/rbalint/scratch4/ubuntu groovy/main amd64 
libc-dev-bin amd64 2.32-0ubuntu3.1 [30.8 kB]
Get:3 http://ppa.launchpad.net/rbalint/scratch4/ubuntu groovy/main amd64 libc6 
amd64 2.32-0ubuntu3.1 [2682 kB]
Get:4 http://ppa.launchpad.net/rbalint/scratch4/ubuntu groovy/main amd64 
libc-bin amd64 2.32-0ubuntu3.1 [617 kB]
Get:5 http://ppa.launchpad.net/rbalint/scratch4/ubuntu groovy/main amd64 
locales all 2.32-0ubuntu3.1 [3879 kB]
Fetched 9339 kB in 3s (3189 kB/s)  
Preconfiguring packages ...
(Reading database ... 67950 files and directories currently installed.)
Preparing to unpack .../libc6-dev_2.32-0ubuntu3.1_amd64.deb ...
Unpacking libc6-dev:amd64 (2.32-0ubuntu3.1) over (2.32-0ubuntu3) ...
Preparing to unpack .../libc-dev-bin_2.32-0ubuntu3.1_amd64.deb ...
Unpacking libc-dev-bin (2.32-0ubuntu3.1) over (2.32-0ubuntu3) ...
Preparing to unpack .../libc6_2.32-0ubuntu3.1_amd64.deb ...
Unpacking libc6:amd64 (2.32-0ubuntu3.1) over (2.32-0ubuntu3) ...
Setting up libc6:amd64 (2.32-0ubuntu3.1) ...
(Reading database ... 67950 files and directories currently installed.)
Preparing to unpack .../libc-bin_2.32-0ubuntu3.1_amd64.deb ...
Unpacking libc-bin (2.32-0ubuntu3.1) over (2.32-0ubuntu3) ...
Setting up libc-bin (2.32-0ubuntu3.1) ...
(Reading database ... 67950 files and directories currently installed.)
Preparing to unpack .../locales_2.32-0ubuntu3.1_all.deb ...
Unpacking locales (2.32-0ubuntu3.1) over (2.32-0ubuntu3) ...
Setting up locales (2.32-0ubuntu3.1) ...
Generating locales (this might take a while)...
  en_US.UTF-8... done
Generation complete.
Setting up libc-dev-bin (2.32-0ubuntu3.1) ...
Setting up libc6-dev:amd64 (2.32-0ubuntu3.1) ...
Processing triggers for man-db (2.9.3-2) ...
root@gg-icc:~# /opt/intel/oneapi/compiler/2021.1.2/linux/bin/intel64/icc -c 
test.c 
root@gg-icc:~# dpkg -S /usr/include/tgmath.h
libc6-dev:amd64: /usr/include/tgmath.h
root@gg-icc:~# dpkg -l libc6-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ NameVersion Architecture Description
+++-===-===--=
ii  libc6-dev:amd64 2.32-0ubuntu3.1 amd64GNU C Library: Development 
Libraries and Header Files


** Tags removed: verification-needed-groovy
** Tags added: verification-done-groovy

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

Title:
  [Bug] A simple code including tgmath.h cannot be compiled with icc
  with Ubuntu 20.04 OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/intel/+bug/1895358/+subscriptions

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

[Bug 1895358] Re: [Bug] A simple code including tgmath.h cannot be compiled with icc with Ubuntu 20.04 OS

2020-12-16 Thread Łukasz Zemczak
Hello pragyansri.pa...@intel.com, or anyone else affected,

Accepted glibc into focal-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/glibc/2.31-0ubuntu9.2
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: glibc (Ubuntu Focal)
   Status: In Progress => Fix Committed

** Tags added: verification-needed-focal

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

Title:
  [Bug] A simple code including tgmath.h cannot be compiled with icc
  with Ubuntu 20.04 OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/intel/+bug/1895358/+subscriptions

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

[Bug 1895358] Re: [Bug] A simple code including tgmath.h cannot be compiled with icc with Ubuntu 20.04 OS

2020-12-16 Thread Łukasz Zemczak
Hello pragyansri.pa...@intel.com, or anyone else affected,

Accepted glibc into groovy-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/glibc/2.32-0ubuntu3.1
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
groovy to verification-done-groovy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-groovy. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: glibc (Ubuntu Groovy)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-groovy

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

Title:
  [Bug] A simple code including tgmath.h cannot be compiled with icc
  with Ubuntu 20.04 OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/intel/+bug/1895358/+subscriptions

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

[Bug 1895358] Re: [Bug] A simple code including tgmath.h cannot be compiled with icc with Ubuntu 20.04 OS

2020-12-08 Thread Balint Reczey
** Changed in: glibc (Ubuntu Focal)
   Status: New => In Progress

** Changed in: glibc (Ubuntu Groovy)
   Status: New => In Progress

** Changed in: glibc (Ubuntu Focal)
 Assignee: (unassigned) => Balint Reczey (rbalint)

** Changed in: glibc (Ubuntu Groovy)
 Assignee: (unassigned) => Balint Reczey (rbalint)

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

Title:
  [Bug] A simple code including tgmath.h cannot be compiled with icc
  with Ubuntu 20.04 OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/intel/+bug/1895358/+subscriptions

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

[Bug 1895358] Re: [Bug] A simple code including tgmath.h cannot be compiled with icc with Ubuntu 20.04 OS

2020-12-08 Thread Balint Reczey
** Description changed:

+ [Impact]
+ 
+  A simple code including tgmath.h cannot be compiled with icc with
+ Ubuntu 20.04 OS and later releases.
+ 
+ [Test Case]
+ icc:
+  Compile the following code with Intel compiler (icc) by running “icc -c 
test.c”
+ 
+ $ cat test.c
+ #include 
+ 
+ There should not be any compilation error
+ 
+ 
+ [Where problems could occur]
+ 
+ The fix is dropping compile time check preventing using float128 with
+ icc. In case of a mistake using float128 becomes prevented in other
+ compilers as well, but this is highly unlikely, since the vanilla
+ upstream code is known to work.
+ 
+ Older icc compilers (for which the patch has been introduced) will stop
+ compiling code with the _fixed_ tgmath.h because of LP: #1717257.
+ 
+ Users can still install older icc compilers from 3rd party sources, but
+ there is no good way of avoiding that. They can still override the
+ packaged tgmath.h.
+ 
+ [Original Bug Text]
+ 
  [Summary]: A simple code including tgmath.h cannot be compiled with icc
  with Ubuntu 20.04 OS
  
  [Ubuntu OS version]: 20.04
  
  [Reproduce Steps]: Compile the following code with Intel compiler (icc)
  by running “icc -c test.c”
  
  $ cat test.c
  #include 
-  
+ 
  [Results]
  Expected: There should not be any compilation error
  
  Actual: The following error is produced:
  
  $ icc -c test.c
  In file included from 
/localdisk2/mkl/aakkas/20200721_rls/lnx/compiler/latest/linux/bin/intel64/../../compiler/include/icc/tgmath.h(25),
-  from test.c(1):
+  from test.c(1):
  /usr/include/tgmath.h(54): error: #error directive: "Unsupported combination 
of types for ."
-   #  error "Unsupported combination of types for ."
-  ^
-  
+   #  error "Unsupported combination of types for ."
+  ^
+ 
  compilation aborted for test.c (code 2)
-  
  
  [Additional Information on Test setup]:
  
- ICC compiler supports the __float128 type if the reference compiler is more 
recent than GNU version 4.4. Therefore, __HAVE_FLOAT128 should be set to 1 when 
ICC compiler is used with GNU version higher than 4.4. Based on this, I believe 
that the red part below in floatn.h, which comes with Ubuntu OS, should be 
updated/removed.
-  
+ ICC compiler supports the __float128 type if the reference compiler is
+ more recent than GNU version 4.4. Therefore, __HAVE_FLOAT128 should be
+ set to 1 when ICC compiler is used with GNU version higher than 4.4.
+ Based on this, I believe that the red part below in floatn.h, which
+ comes with Ubuntu OS, should be updated/removed.
+ 
  #if (defined __x86_64__ \
-  ? __GNUC_PREREQ (4, 3) \
-  : (defined __GNU__ ? __GNUC_PREREQ (4, 5) : __GNUC_PREREQ (4, 4))) \
-  &&  !defined(__CUDACC__) && !defined(__ICC)
+  ? __GNUC_PREREQ (4, 3) \
+  : (defined __GNU__ ? __GNUC_PREREQ (4, 5) : __GNUC_PREREQ (4, 4))) \
+  &&  !defined(__CUDACC__) && !defined(__ICC)
  # define __HAVE_FLOAT128 1
  #else
  # define __HAVE_FLOAT128 0
  #endif
  
  Currently, when the tgmath.h system header file is included on Ubuntu
  20.04 OS system,  __HAVE_FLOAT128 is set to zero and __HAVE_FLOAT64X set
  to 1 for ICC. And this is not a supported combination as checked in the
  new tgmath.h system header file:
  
  # if ((__HAVE_FLOAT64X && !__HAVE_FLOAT128) \
-   || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X))
+   || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X))
  #  error "Unsupported combination of types for ."
  # endif
  
  Upstream bug: Not known
  =

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

Title:
  [Bug] A simple code including tgmath.h cannot be compiled with icc
  with Ubuntu 20.04 OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/intel/+bug/1895358/+subscriptions

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

[Bug 1895358] Re: [Bug] A simple code including tgmath.h cannot be compiled with icc with Ubuntu 20.04 OS

2020-12-01 Thread Launchpad Bug Tracker
This bug was fixed in the package glibc - 2.32-0ubuntu5

---
glibc (2.32-0ubuntu5) hirsute; urgency=medium

  * debian/gbp.conf: Set debian-tag and debian-tag-msg to follow Ubuntu format
  * Don't build libc6-prof in stage1 and stage2
  * Ship libc6-prof on riscv64, too.
This fixes FTBFS on riscv64 due to the the flavour being built but not
shipped in a package.
  * Detect debconf consistently in libc6.preinst and do not crash if it is not 
used
(LP: #1902955)
  * Prevent rare deadlock in pthread_cond_signal (LP: #1899800)
  * debian/patches/git-updates.diff: update from upstream stable branch

glibc (2.32-0ubuntu4) hirsute; urgency=medium

  * tests: XFAIL time/tst-cpuclock1 on armel, too. (LP: #1895687)
The armhf build builds for armel, too, thus this fixes the armhf
autopkgtest.
  * debian/control: Only recommend libnss-nis and libnss-nisplus.
They pull in a sizable amount of extra dependencies while they are rarely
needed.
  * Make libc6 provide libc6-lse on arm64.
Libc6 is now compiled with -moutline-atomics thus the separate binary
package is dropped.
  * Ship libc variant compiled for profiling in libc6-prof
  * debian/patches/git-updates.diff: update from upstream stable branch
  * Drop obsoleted local-cudacc-float128.diff which breaks new icc
(LP: #1895358)
  * XFAIL tst-sysvshm-linux on i386 and x32
  * Merge 2.31-4 from Debian unstable

 -- Balint Reczey   Fri, 13 Nov 2020 18:54:38 +0100

** Changed in: glibc (Ubuntu)
   Status: Incomplete => Fix Released

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

Title:
  [Bug] A simple code including tgmath.h cannot be compiled with icc
  with Ubuntu 20.04 OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/intel/+bug/1895358/+subscriptions

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

[Bug 1895358] Re: [Bug] A simple code including tgmath.h cannot be compiled with icc with Ubuntu 20.04 OS

2020-11-05 Thread Brian Murray
** Tags removed: rls-ff-incoming

** Tags added: fr-900

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

Title:
  [Bug] A simple code including tgmath.h cannot be compiled with icc
  with Ubuntu 20.04 OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/intel/+bug/1895358/+subscriptions

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

[Bug 1895358] Re: [Bug] A simple code including tgmath.h cannot be compiled with icc with Ubuntu 20.04 OS

2020-10-28 Thread Balint Reczey
** Tags added: rls-ff-incoming

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

Title:
  [Bug] A simple code including tgmath.h cannot be compiled with icc
  with Ubuntu 20.04 OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/intel/+bug/1895358/+subscriptions

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

[Bug 1895358] Re: [Bug] A simple code including tgmath.h cannot be compiled with icc with Ubuntu 20.04 OS

2020-10-28 Thread Balint Reczey
The patch in Ubuntu that introduced this regression landed as a fix for
LP: #1717257.

The patch is still needed on Bionic to not break nvcc, but not on Focal.
I take this bug report as an indication of the patch not being needed
for latest icc either, thus will drop it in the next glibc upload.


** Also affects: glibc (Ubuntu Groovy)
   Importance: Undecided
   Status: New

** Also affects: glibc (Ubuntu Focal)
   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/1895358

Title:
  [Bug] A simple code including tgmath.h cannot be compiled with icc
  with Ubuntu 20.04 OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/intel/+bug/1895358/+subscriptions

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

[Bug 1895358] Re: [Bug] A simple code including tgmath.h cannot be compiled with icc with Ubuntu 20.04 OS

2020-09-16 Thread pragyansri.pa...@intel.com
@dimitri.led...@canonical.com

Dimitri - 
We found that Ubuntu's modified glibc header file caused the problem. In the 
glibc sources the following line does not exist
 
&&  !defined(__CUDACC__) && !defined(__ICC)
 
so the code in glibc's header file looks like this:
 
#if (defined __x86_64__   \
? __GNUC_PREREQ (4, 3)\
: (defined __GNU__ ? __GNUC_PREREQ (4, 5) : __GNUC_PREREQ (4, 4)))
# define __HAVE_FLOAT128 1
#else
# define __HAVE_FLOAT128 0
#endif
 
Therefore, the fix/update is needed in the Ubuntu’s modified header file.  
You can see all comments from 
https://sourceware.org/bugzilla/show_bug.cgi?id=26621

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

Title:
  [Bug] A simple code including tgmath.h cannot be compiled with icc
  with Ubuntu 20.04 OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/intel/+bug/1895358/+subscriptions

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

[Bug 1895358] Re: [Bug] A simple code including tgmath.h cannot be compiled with icc with Ubuntu 20.04 OS

2020-09-15 Thread pragyansri.pa...@intel.com
https://sourceware.org/bugzilla/show_bug.cgi?id=26621


** Bug watch added: Sourceware.org Bugzilla #26621
   https://sourceware.org/bugzilla/show_bug.cgi?id=26621

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

Title:
  [Bug] A simple code including tgmath.h cannot be compiled with icc
  with Ubuntu 20.04 OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/intel/+bug/1895358/+subscriptions

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

[Bug 1895358] Re: [Bug] A simple code including tgmath.h cannot be compiled with icc with Ubuntu 20.04 OS

2020-09-15 Thread Dimitri John Ledkov
groovy-proposed has 2.32
https://launchpad.net/ubuntu/+source/glibc/2.32-0ubuntu2 can this issue
be reproduced there?

Do you have glibc upstream commit id on master and/or stable branches
with fix for this?

** Changed in: glibc (Ubuntu)
   Status: New => Incomplete

** Changed in: intel
   Status: New => Incomplete

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

Title:
  [Bug] A simple code including tgmath.h cannot be compiled with icc
  with Ubuntu 20.04 OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/intel/+bug/1895358/+subscriptions

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

[Bug 1895358] Re: [Bug] A simple code including tgmath.h cannot be compiled with icc with Ubuntu 20.04 OS

2020-09-11 Thread Anthony Wong
** Also affects: glibc (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/1895358

Title:
  [Bug] A simple code including tgmath.h cannot be compiled with icc
  with Ubuntu 20.04 OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/intel/+bug/1895358/+subscriptions

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