@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

Reply via email to