https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86553
--- Comment #17 from The Written Word
---
Created attachment 44456
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44456=edit
gcc/config/rs6000/aix53.h patch for gcc-5.5.0
Needed this patch to build 5.5.0 successfully on AIX 5.3.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86553
--- Comment #16 from The Written Word
---
Created attachment 44455
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44455=edit
gcc/config/rs6000/aix53.h for gcc-6.4.0
Needed this patch to build 6.4.0 successfully on AIX 5.3.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86553
--- Comment #15 from The Written Word
---
Created attachment 3
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3=edit
gcc/config/rs6000/aix53.h patch
Similar to r227907 but for AIX 5.3 Have used this to successfully build
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86553
--- Comment #14 from The Written Word
---
Adding -bnoquiet to the linker command-line I get:
(ld): halt 4
(ld): setopt r/o->w
(ld): setopt nortl
(ld): setopt nortllib
(ld): setopt symbolic:-1
(ld): setfflag 4
(ld): savename ./shr.o
(ld):
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86553
--- Comment #13 from The Written Word
---
(In reply to The Written Word from comment #10)
> (In reply to Jonathan Wakely from comment #8)
> > Created attachment 44406 [details]
> > Undefine macros for long double math functions
> >
> > Does
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86553
--- Comment #12 from Jonathan Wakely ---
Both. It's been low priority because I noticed it by observation, but it's
never been reported by users or caused any problems that I'm aware of (until
now, maybe).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86553
--- Comment #11 from The Written Word
---
(In reply to Jonathan Wakely from comment #7)
> As I suspected, something is doing:
>
> #define fabsl(X) fabs((double) (X))
> #define acosl(X) acos((double) (X))
> etc.
>
> This would probably be
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86553
--- Comment #10 from The Written Word
---
(In reply to Jonathan Wakely from comment #8)
> Created attachment 44406 [details]
> Undefine macros for long double math functions
>
> Does this fix the build?
I am trying a similar patch. I
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86553
--- Comment #9 from The Written Word
---
(In reply to Jonathan Wakely from comment #7)
> As I suspected, something is doing:
>
> #define fabsl(X) fabs((double) (X))
> #define acosl(X) acos((double) (X))
> etc.
/usr/include/math.h on this
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86553
--- Comment #8 from Jonathan Wakely ---
Created attachment 44406
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44406=edit
Undefine macros for long double math functions
Does this fix the build?
This isn't really a proper fix, as it just
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86553
--- Comment #7 from Jonathan Wakely ---
As I suspected, something is doing:
#define fabsl(X) fabs((double) (X))
#define acosl(X) acos((double) (X))
etc.
This would probably be solved by any fix for PR 79700, which would have to add
this to :
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86553
Jonathan Wakely changed:
What|Removed |Added
Keywords||build
Status|WAITING
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86553
--- Comment #5 from The Written Word
---
Created attachment 44405
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44405=edit
Preprocessed source for math_stubs_long_double.cc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86553
--- Comment #4 from Jonathan Wakely ---
We might need something like:
--- a/libstdc++-v3/src/c++98/math_stubs_long_double.cc
+++ b/libstdc++-v3/src/c++98/math_stubs_long_double.cc
@@ -31,6 +31,7 @@
extern "C"
{
#ifndef _GLIBCXX_HAVE_FABSL
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86553
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86553
--- Comment #2 from The Written Word
---
gcc-6.4.0 on AIX 5.3 exhibits a similar failure.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86553
--- Comment #1 from The Written Word
---
I get a similar failure on AIX 5.2 with gcc-7.2.0 and gcc-8.1.0.
17 matches
Mail list logo