https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63617
--- Comment #2 from Adi ---
Can you tell me what are the "supported" version(s) now?
Also can you give me a kind of gcc supported version life cycle/chart/roadmap ?
Thank you,
Adi
++
Assignee: unassigned at gcc dot gnu.org
Reporter: adivilceanu at yahoo dot com
Hello,
We have a program "myapp" build with gcc 4.6.3 on AIX 6.1 Tl05.
At runtime the program crashed once very weird with the following stack:
pth_signal.pthread_kill(??, ??) at 0xd053c8d4
pth_signa
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54791
--- Comment #32 from Adi 2012-11-29 09:43:45 UTC
---
One more question:
If I intend to use the patch from PR 33704 to modify my gcc and then build
commercial applications with it, is that ok? Would that raise any
copyright/legal issues?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54791
--- Comment #31 from Adi 2012-11-29 09:34:54 UTC
---
OK I finally managed to get it working.
The problem was I was using the rpm packages from perlz.org for mpfr,gmp and
libmpc. Both gmp 4.3.2 and 5.0 gave me the gcc errors.
But when
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54791
--- Comment #29 from Adi 2012-11-28 14:00:55 UTC
---
Ok... if you are so kind please tell me exactly
1) how did you install the gcc(you said it works on your aix) ? I mean what
mpfr,gmp, libmpc did you use and how did you install them?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54791
--- Comment #27 from Adi 2012-11-27 19:00:53 UTC
---
I have put gmp 4.3.2 and still I get the errors when it builds libstdc++-v3.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54791
--- Comment #26 from Adi 2012-11-27 18:55:08 UTC
---
One more question: Do you know why cc1plus and cc1 have around 300 Mb after I
build them ? I just did configure and make on the official sources.(now other
options)
I see that on the of
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54791
--- Comment #25 from Adi 2012-11-27 15:54:30 UTC
---
One more question: Do you know why cc1plus and cc1 have around 300 Mb after I
build them ? I just did configure and make on the official sources.(now other
options)
I see that on the of
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54791
--- Comment #23 from Adi 2012-11-13 14:08:42 UTC
---
I did not put the patch yet.
This is just gcc 4.7.2 original sources. Why would they not compile?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54791
--- Comment #21 from Adi 2012-11-13 08:29:51 UTC
---
I am trying to build gcc 4.7.2 in order to apply the patch you suggested.
I did the following:
-download the gcc 4.7.2
-unzip and untar to to the root directory.
mkdir /gcc-build
cd /
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54791
--- Comment #20 from Adi 2012-11-13 08:21:12 UTC
---
Created attachment 28672
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28672
the error while building gcc
the error while building gcc 4.7.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54791
--- Comment #18 from Adi 2012-11-07 15:25:27 UTC
---
Follow up on comment 17:
1) I did try to set the priority on the shared lib (via -binitfini) and it does
not work. I mean the priority is set but the exe is still the one that is
g
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54791
--- Comment #17 from Adi 2012-11-07 14:45:59 UTC
---
Finally I got it working. You are right, there are _GLOBAL* symbols generated
for each constructor, but only when you specify the init_priority attr for
that object. (otherwise there is
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54791
--- Comment #15 from Adi 2012-11-06 21:49:47 UTC
---
This is a follow up on comment 14.
It seems that -fPIC dramatically improved the way constructors are called. It
seems that the linker has some logic and is initializing the globals fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54791
--- Comment #14 from Adi 2012-11-06 16:22:37 UTC
---
Regarding the __attribute__ ((init_priority ())).
Are you sure this works on AIX at namespace level. I think it might work on
linux. But on AIX I see no way of that ever working.
H
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54791
--- Comment #12 from Adi 2012-11-05 21:14:22 UTC
---
(In reply to comment #11)
> I believe that the G++ front end tries to create a unique name from the first
> symbol it sees. I do not now if this is related to the constructor name
> co
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54791
--- Comment #10 from Adi 2012-11-05 14:34:25 UTC
---
I found the real problem !
Now it can be reproducible even with a small test case.
I can summarize it like this: If you have a global object/function defined in
"n" different object
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54791
--- Comment #8 from Adi 2012-11-03 19:14:41 UTC
---
Thank you for your response. (Sorry for the repeated emails. I did it because I
got delivery failures on the first 4 mails.)
So just to be 100% sure on this: If I want to be sure all my constr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54791
--- Comment #6 from Adi 2012-11-03 06:24:03 UTC
---
This is the 5thmail I am sending(I got 4 delivery errors because of MIME
attachments).
After more investigation I saw that I managed to get the constructors
called by removing the "inline" k
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54791
--- Comment #5 from Adi 2012-11-03 06:21:08 UTC
---
Please tell me if you received my email. I got some delivery failures because
of attachments.
- Forwarded Message -
From: "adivilce...@yahoo.com"
To: dje at gcc dot gnu.org
Sent: F
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54791
--- Comment #4 from Adi 2012-11-02 14:51:50 UTC
---
my attachment as text did not work so I have done it via word doc.
From: "adivilce...@yahoo.com"
To: dje at gcc dot gnu.org
Sent: Friday, November 2, 201
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54791
--- Comment #3 from Adi 2012-11-02 14:49:03 UTC
---
After more investigation I saw that I managed to get the constructors called by
removing the "inline" keyword from just one constructor of a class that resides
in my master header.
>From my -W
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54791
Bug #: 54791
Summary: AIX-only: Constructors are not called in main program.
Classification: Unclassified
Product: gcc
Version: 4.7.2
Status: UNCONFIRMED
Severity: ma
23 matches
Mail list logo