public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] math: Suppress clang -Wincompatible-library-redeclaration on s_llround
@ 2023-02-09 19:47 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2023-02-09 19:47 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0f3815d866b876b6d178cb2d61c0eec2d150ec9e

commit 0f3815d866b876b6d178cb2d61c0eec2d150ec9e
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Aug 24 12:41:39 2022 -0300

    math: Suppress clang -Wincompatible-library-redeclaration on s_llround
    
    Clang issues:
    
      ../sysdeps/ieee754/dbl-64/s_llround.c:83:30: error: incompatible
      redeclaration of library function 'lround'
      [-Werror,-Wincompatible-library-redeclaration]
      libm_alias_double (__lround, lround)
                                   ^
      ../sysdeps/ieee754/dbl-64/s_llround.c:83:30: note: 'lround' is a builtin
      with type 'long (double)'

Diff:
---
 sysdeps/ieee754/dbl-64/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sysdeps/ieee754/dbl-64/Makefile b/sysdeps/ieee754/dbl-64/Makefile
index 78530b5966..9f1226326c 100644
--- a/sysdeps/ieee754/dbl-64/Makefile
+++ b/sysdeps/ieee754/dbl-64/Makefile
@@ -2,4 +2,7 @@ ifeq ($(subdir),math)
 # branred depends on precise IEEE double rounding
 CFLAGS-branred.c += $(config-cflags-nofma)
 CFLAGS-e_sqrt.c += $(config-cflags-nofma)
+
+# The symbols alias to lround
+CFLAGS-s_llround.c += -fno-builtin-lround
 endif

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [glibc/azanella/clang] math: Suppress clang -Wincompatible-library-redeclaration on s_llround
@ 2024-02-09 17:30 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2024-02-09 17:30 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f6bf59012994e6eed21fa8517543938dd5aad4ac

commit f6bf59012994e6eed21fa8517543938dd5aad4ac
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Aug 24 12:41:39 2022 -0300

    math: Suppress clang -Wincompatible-library-redeclaration on s_llround
    
    Clang issues:
    
      ../sysdeps/ieee754/dbl-64/s_llround.c:83:30: error: incompatible
      redeclaration of library function 'lround'
      [-Werror,-Wincompatible-library-redeclaration]
      libm_alias_double (__lround, lround)
                                   ^
      ../sysdeps/ieee754/dbl-64/s_llround.c:83:30: note: 'lround' is a builtin
      with type 'long (double)'

Diff:
---
 sysdeps/ieee754/dbl-64/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sysdeps/ieee754/dbl-64/Makefile b/sysdeps/ieee754/dbl-64/Makefile
index 78530b5966..9f1226326c 100644
--- a/sysdeps/ieee754/dbl-64/Makefile
+++ b/sysdeps/ieee754/dbl-64/Makefile
@@ -2,4 +2,7 @@ ifeq ($(subdir),math)
 # branred depends on precise IEEE double rounding
 CFLAGS-branred.c += $(config-cflags-nofma)
 CFLAGS-e_sqrt.c += $(config-cflags-nofma)
+
+# The symbols alias to lround
+CFLAGS-s_llround.c += -fno-builtin-lround
 endif

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [glibc/azanella/clang] math: Suppress clang -Wincompatible-library-redeclaration on s_llround
@ 2024-02-07 14:06 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2024-02-07 14:06 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=279c98388499fd414c234fb3924ccfa4672c2dd8

commit 279c98388499fd414c234fb3924ccfa4672c2dd8
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Aug 24 12:41:39 2022 -0300

    math: Suppress clang -Wincompatible-library-redeclaration on s_llround
    
    Clang issues:
    
      ../sysdeps/ieee754/dbl-64/s_llround.c:83:30: error: incompatible
      redeclaration of library function 'lround'
      [-Werror,-Wincompatible-library-redeclaration]
      libm_alias_double (__lround, lround)
                                   ^
      ../sysdeps/ieee754/dbl-64/s_llround.c:83:30: note: 'lround' is a builtin
      with type 'long (double)'

Diff:
---
 sysdeps/ieee754/dbl-64/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sysdeps/ieee754/dbl-64/Makefile b/sysdeps/ieee754/dbl-64/Makefile
index 78530b5966..9f1226326c 100644
--- a/sysdeps/ieee754/dbl-64/Makefile
+++ b/sysdeps/ieee754/dbl-64/Makefile
@@ -2,4 +2,7 @@ ifeq ($(subdir),math)
 # branred depends on precise IEEE double rounding
 CFLAGS-branred.c += $(config-cflags-nofma)
 CFLAGS-e_sqrt.c += $(config-cflags-nofma)
+
+# The symbols alias to lround
+CFLAGS-s_llround.c += -fno-builtin-lround
 endif

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [glibc/azanella/clang] math: Suppress clang -Wincompatible-library-redeclaration on s_llround
@ 2024-01-29 17:56 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2024-01-29 17:56 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c710b227d9ce2724d9deb59f7db5b5161eef79ff

commit c710b227d9ce2724d9deb59f7db5b5161eef79ff
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Aug 24 12:41:39 2022 -0300

    math: Suppress clang -Wincompatible-library-redeclaration on s_llround
    
    Clang issues:
    
      ../sysdeps/ieee754/dbl-64/s_llround.c:83:30: error: incompatible
      redeclaration of library function 'lround'
      [-Werror,-Wincompatible-library-redeclaration]
      libm_alias_double (__lround, lround)
                                   ^
      ../sysdeps/ieee754/dbl-64/s_llround.c:83:30: note: 'lround' is a builtin
      with type 'long (double)'

Diff:
---
 sysdeps/ieee754/dbl-64/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sysdeps/ieee754/dbl-64/Makefile b/sysdeps/ieee754/dbl-64/Makefile
index 78530b5966..9f1226326c 100644
--- a/sysdeps/ieee754/dbl-64/Makefile
+++ b/sysdeps/ieee754/dbl-64/Makefile
@@ -2,4 +2,7 @@ ifeq ($(subdir),math)
 # branred depends on precise IEEE double rounding
 CFLAGS-branred.c += $(config-cflags-nofma)
 CFLAGS-e_sqrt.c += $(config-cflags-nofma)
+
+# The symbols alias to lround
+CFLAGS-s_llround.c += -fno-builtin-lround
 endif

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [glibc/azanella/clang] math: Suppress clang -Wincompatible-library-redeclaration on s_llround
@ 2023-12-21 18:52 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2023-12-21 18:52 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=daa9123581eb72ceeda3d917ae29803cc6b96e3d

commit daa9123581eb72ceeda3d917ae29803cc6b96e3d
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Aug 24 12:41:39 2022 -0300

    math: Suppress clang -Wincompatible-library-redeclaration on s_llround
    
    Clang issues:
    
      ../sysdeps/ieee754/dbl-64/s_llround.c:83:30: error: incompatible
      redeclaration of library function 'lround'
      [-Werror,-Wincompatible-library-redeclaration]
      libm_alias_double (__lround, lround)
                                   ^
      ../sysdeps/ieee754/dbl-64/s_llround.c:83:30: note: 'lround' is a builtin
      with type 'long (double)'

Diff:
---
 sysdeps/ieee754/dbl-64/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sysdeps/ieee754/dbl-64/Makefile b/sysdeps/ieee754/dbl-64/Makefile
index 78530b5966..9f1226326c 100644
--- a/sysdeps/ieee754/dbl-64/Makefile
+++ b/sysdeps/ieee754/dbl-64/Makefile
@@ -2,4 +2,7 @@ ifeq ($(subdir),math)
 # branred depends on precise IEEE double rounding
 CFLAGS-branred.c += $(config-cflags-nofma)
 CFLAGS-e_sqrt.c += $(config-cflags-nofma)
+
+# The symbols alias to lround
+CFLAGS-s_llround.c += -fno-builtin-lround
 endif

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [glibc/azanella/clang] math: Suppress clang -Wincompatible-library-redeclaration on s_llround
@ 2023-09-28 17:51 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2023-09-28 17:51 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7f64f51c7e7ecfcb8fa9f438ffad93f6b00ab3a6

commit 7f64f51c7e7ecfcb8fa9f438ffad93f6b00ab3a6
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Aug 24 12:41:39 2022 -0300

    math: Suppress clang -Wincompatible-library-redeclaration on s_llround
    
    Clang issues:
    
      ../sysdeps/ieee754/dbl-64/s_llround.c:83:30: error: incompatible
      redeclaration of library function 'lround'
      [-Werror,-Wincompatible-library-redeclaration]
      libm_alias_double (__lround, lround)
                                   ^
      ../sysdeps/ieee754/dbl-64/s_llround.c:83:30: note: 'lround' is a builtin
      with type 'long (double)'

Diff:
---
 sysdeps/ieee754/dbl-64/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sysdeps/ieee754/dbl-64/Makefile b/sysdeps/ieee754/dbl-64/Makefile
index 78530b5966..9f1226326c 100644
--- a/sysdeps/ieee754/dbl-64/Makefile
+++ b/sysdeps/ieee754/dbl-64/Makefile
@@ -2,4 +2,7 @@ ifeq ($(subdir),math)
 # branred depends on precise IEEE double rounding
 CFLAGS-branred.c += $(config-cflags-nofma)
 CFLAGS-e_sqrt.c += $(config-cflags-nofma)
+
+# The symbols alias to lround
+CFLAGS-s_llround.c += -fno-builtin-lround
 endif

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [glibc/azanella/clang] math: Suppress clang -Wincompatible-library-redeclaration on s_llround
@ 2023-08-30 12:35 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2023-08-30 12:35 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=314ec91560d6be2a58df34779fe1a68defe411b8

commit 314ec91560d6be2a58df34779fe1a68defe411b8
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Aug 24 12:41:39 2022 -0300

    math: Suppress clang -Wincompatible-library-redeclaration on s_llround
    
    Clang issues:
    
      ../sysdeps/ieee754/dbl-64/s_llround.c:83:30: error: incompatible
      redeclaration of library function 'lround'
      [-Werror,-Wincompatible-library-redeclaration]
      libm_alias_double (__lround, lround)
                                   ^
      ../sysdeps/ieee754/dbl-64/s_llround.c:83:30: note: 'lround' is a builtin
      with type 'long (double)'

Diff:
---
 sysdeps/ieee754/dbl-64/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sysdeps/ieee754/dbl-64/Makefile b/sysdeps/ieee754/dbl-64/Makefile
index 78530b5966..9f1226326c 100644
--- a/sysdeps/ieee754/dbl-64/Makefile
+++ b/sysdeps/ieee754/dbl-64/Makefile
@@ -2,4 +2,7 @@ ifeq ($(subdir),math)
 # branred depends on precise IEEE double rounding
 CFLAGS-branred.c += $(config-cflags-nofma)
 CFLAGS-e_sqrt.c += $(config-cflags-nofma)
+
+# The symbols alias to lround
+CFLAGS-s_llround.c += -fno-builtin-lround
 endif

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [glibc/azanella/clang] math: Suppress clang -Wincompatible-library-redeclaration on s_llround
@ 2022-10-28 17:40 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2022-10-28 17:40 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=99cbd90852b01dd1b5c06b72b0fa1e0c9fb49fc3

commit 99cbd90852b01dd1b5c06b72b0fa1e0c9fb49fc3
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Aug 24 12:41:39 2022 -0300

    math: Suppress clang -Wincompatible-library-redeclaration on s_llround
    
    Clang issues:
    
      ../sysdeps/ieee754/dbl-64/s_llround.c:83:30: error: incompatible
      redeclaration of library function 'lround'
      [-Werror,-Wincompatible-library-redeclaration]
      libm_alias_double (__lround, lround)
                                   ^
      ../sysdeps/ieee754/dbl-64/s_llround.c:83:30: note: 'lround' is a builtin
      with type 'long (double)'

Diff:
---
 sysdeps/ieee754/dbl-64/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sysdeps/ieee754/dbl-64/Makefile b/sysdeps/ieee754/dbl-64/Makefile
index 78530b5966..9f1226326c 100644
--- a/sysdeps/ieee754/dbl-64/Makefile
+++ b/sysdeps/ieee754/dbl-64/Makefile
@@ -2,4 +2,7 @@ ifeq ($(subdir),math)
 # branred depends on precise IEEE double rounding
 CFLAGS-branred.c += $(config-cflags-nofma)
 CFLAGS-e_sqrt.c += $(config-cflags-nofma)
+
+# The symbols alias to lround
+CFLAGS-s_llround.c += -fno-builtin-lround
 endif

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [glibc/azanella/clang] math: Suppress clang -Wincompatible-library-redeclaration on s_llround
@ 2022-10-04 12:58 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2022-10-04 12:58 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b4ea0d9899c0acd31769239cb2673a9e29bbf24a

commit b4ea0d9899c0acd31769239cb2673a9e29bbf24a
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Aug 24 12:41:39 2022 -0300

    math: Suppress clang -Wincompatible-library-redeclaration on s_llround
    
    Clang issues:
    
      ../sysdeps/ieee754/dbl-64/s_llround.c:83:30: error: incompatible
      redeclaration of library function 'lround'
      [-Werror,-Wincompatible-library-redeclaration]
      libm_alias_double (__lround, lround)
                                   ^
      ../sysdeps/ieee754/dbl-64/s_llround.c:83:30: note: 'lround' is a builtin
      with type 'long (double)'

Diff:
---
 sysdeps/ieee754/dbl-64/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sysdeps/ieee754/dbl-64/Makefile b/sysdeps/ieee754/dbl-64/Makefile
index 78530b5966..9f1226326c 100644
--- a/sysdeps/ieee754/dbl-64/Makefile
+++ b/sysdeps/ieee754/dbl-64/Makefile
@@ -2,4 +2,7 @@ ifeq ($(subdir),math)
 # branred depends on precise IEEE double rounding
 CFLAGS-branred.c += $(config-cflags-nofma)
 CFLAGS-e_sqrt.c += $(config-cflags-nofma)
+
+# The symbols alias to lround
+CFLAGS-s_llround.c += -fno-builtin-lround
 endif

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-02-09 17:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-09 19:47 [glibc/azanella/clang] math: Suppress clang -Wincompatible-library-redeclaration on s_llround Adhemerval Zanella
  -- strict thread matches above, loose matches on Subject: below --
2024-02-09 17:30 Adhemerval Zanella
2024-02-07 14:06 Adhemerval Zanella
2024-01-29 17:56 Adhemerval Zanella
2023-12-21 18:52 Adhemerval Zanella
2023-09-28 17:51 Adhemerval Zanella
2023-08-30 12:35 Adhemerval Zanella
2022-10-28 17:40 Adhemerval Zanella
2022-10-04 12:58 Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).