t reclaimed (until the function
returns).
My question is if this is of interest to any of the developers. If
it is, I will package up a nice test program and submit it via bugzilla.
Perry Smith
Ease Software, Inc.
[EMAIL PROTECTED]
http://www.easesoftware.com
Low cost SATA Products for IBMs p5, pSeries, and RS/6000 AIX systems
references resolved by exports provided by the AIX kernel
services. I've been writing drivers using xlc on AIX for 18+ years
so I am familiar with the AIX environment using C but want to start
using C++.
Thank you,
Perry Smith
Here is my script to compile. The ulimit is because I log in as a
user and then su to root so I have the normal user limits which is
too small. See:
http://gcc.gnu.org/ml/gcc-help/2005-05/msg00105.html
and its follow ups for more info.
The CONFIG_SHELL is set because without it the config
sters properly. I have only a vague
memory of this. Do you recall anything like that?
Thanks
Perry
On Jan 8, 2006, at 11:13 AM, David Edelsohn wrote:
Perry Smith writes:
Perry> I can not find a description of what the different versions
of libgcc
Perry> and libstd++ are for. Some
at gets me.
It is pulled in from unwind_dw2.o of libgcc_eh.a. The IBM pubs tells
me its part of the floating point linkage convention.
So, it sounds to me like I need to recompile libgcc_eh.a with the
soft-float option.
Can someone help me do this with minimal stress?
Thanks,
Perry
On Jan
Is there a way to get some type of debugging output that tells me
what line of C code produced what lines of asm code?
Thank you,
Perry
;m currently looking into
that part of the code but was hoping someone could help me out a bit.
BTW, when the link for libgcc_s.a fails, the make does not stop. I
just keeps going. I did not notice this until install time when the
libraries did not exist.
Thank you very much,
Perry Smith
On Jan 10, 2006, at 9:46 PM, David Edelsohn wrote:
Perry Smith writes:
Perry> The call to _restf14 is not explicit so I assume the
compiler is
Perry> generating it for some reason.
Yes, because one of the exception handling support functions can
clobber all registers, bu
On Jan 11, 2006, at 10:11 PM, Ian Lance Taylor wrote:
DJ Delorie <[EMAIL PROTECTED]> writes:
I don't know whether any other chip has this particular limitation,
but it's not hard to handle. ashlsi3 and friends should be a
define_expand which turn an overly large CONST_INT into two shifts,
lo
Well, shoot.
I added that and reconfigured and recompiled over night but it looks
like I need to define __powerpc64__ and currently it is not defined.
On Jan 11, 2006, at 10:17 PM, Ian Lance Taylor wrote:
Perry Smith <[EMAIL PROTECTED]> writes:
The problem: In the particular buil
Because best.score is set to 0 up front, he is expecting the || (or)
to short circuit and never test best.d.
But... getting a compiler to figure that out is expecting too much.
Did you try up'ing the optimization level (just out of curiosity)?
On Jan 12, 2006, at 9:01 AM, Diego Novillo wr
Sorry for such a lame question:
Where does __LDBL_MANT_DIG__ get defined? (gcc 4.0.2)
Thanks,
Perry
gcc
or libgcc assume that this implies long double but c-cppbuiltin.c
appears to not make that assumption.
I'm not sure where or how to address this issue.
On Jan 12, 2006, at 10:05 AM, Gabriel Dos Reis wrote:
Perry Smith <[EMAIL PROTECTED]> writes:
| Sorry for such a lam
On Jan 12, 2006, at 11:10 AM, Gabriel Dos Reis wrote:
Perry Smith <[EMAIL PROTECTED]> writes:
| Thanks Gaby...
|
| To recap, my current quest is to resolve references to symbols like
| __floatdidf. This is in a library for ppc64/soft-float.
|
| Ian pointed me to ppc64-fp.c. When I
The conflict is actually 32bit, AIX, Altivec, and Ada (together).
So, how about for now, just say that Ada can't support Altivec on
32bit AIX.
My point is that I'd like to keep Altivec support on 32bit AIX for
other languages.
On Jan 14, 2006, at 9:03 AM, Eric Botcazou wrote:
A
On Jan 14, 2006, at 10:19 AM, Robert Dewar wrote:
Perry Smith wrote:
The conflict is actually 32bit, AIX, Altivec, and Ada
(together). So, how about for now, just say that Ada can't
support Altivec on 32bit AIX.
My point is that I'd like to keep Altivec support on 32bit
I have a tool that I use to look at AIX dumps. It understands stab
strings that xlc (the IBM compiler) produces. I feed it a file
produced by gcc/g++ and it complains. The same thing happens with
dbx (IBM's debugger). Of course, gdb understands it fine.
Has gcc/g++ extended the stab str
d ld in my path before the real ld and the script strips out the
two arguments that I don't want.
Thank you,
Perry Smith
btw Thank you to David, Ian, Gabby, and others. I now have a tiny
driver that loads. It has a constructor and destructor for a global
object (which gets called). It thr
Now that I have (or think I have) my compiler and library problems
solved, I'm toying with the idea of creating a cross compile
environment on my Mac laptop for AIX (RS/6000). Does anyone see any
obstacles with this? I've never done a cross compile before.
Thank you,
Perry Smith
Two comments:
1) What if the same warning or error message comes from two places?
Your numbering system would make this hard to identify. I would
suggest gathering up all the errors and warnings from all the files,
remove duplicates, then proceed with the numbering. Or... it may be
tha
On Jan 15, 2006, at 10:14 AM, rubicant rubicant wrote:
[..snip..]
1) What if the same warning or error message comes from two places?
Your numbering system would make this hard to identify. I would
suggest gathering up all the errors and warnings from all the files,
remove duplicates, then p
While doing my RS/6000 work last week, I bumped into two bugs and two
other items which I would more consider suggestions. The bugs I will
submit via the prescribed method. But how to the maintainers want to
see the suggestions?
Thanks,
Perry Smith
On Jan 17, 2006, at 10:30 PM, Mike Stump wrote:
On Jan 13, 2006, at 5:01 PM, Richard Kenner wrote:
Steven Bosscher wrote:
... you can use --disable-bootstrap and do a regular make, or is
there
some reason why you can't do that?
I thought the point was that that option is temporary an
In the course of doing my work last week to get exception handling
working in my device driver, I learned that the exception processing
code calls malloc during the exception. This seems weak to me. It
seems like one of the most critical times to throw an exception is
when malloc fails.
On Jan 18, 2006, at 12:07 PM, Andrew Pinski wrote:
On Wed, Jan 18, 2006 at 11:41:39AM -0600, Perry Smith wrote:
In the course of doing my work last week to get exception handling
working in my device driver, I learned that the exception processing
code calls malloc during the exception. This
I've discovered an issue which I can't believe I'm the first to bump
in to. But I've checked older gcc installs and find the same issue.
I did a brief internet search and found sorta similar issues but I'm
not sure if they explained it as I see it.
I bumped into this while trying to build lzma.
On Oct 18, 2011, at 9:59 AM, David Edelsohn wrote:
> On Mon, Oct 17, 2011 at 10:05 PM, Perry Smith wrote:
>
>> dump -H libstdc++.so.6
>>
>> ...
>> /usr/work/src/gcc-4.5.2/configure --prefix=/gsa/ausgsa/projects/r/ruby
>> --with-gmp=/gsa/ausgsa/project
On Oct 23, 2011, at 1:59 PM, David Edelsohn wrote:
> On Sun, Oct 23, 2011 at 10:16 AM, Perry Smith wrote:
>
>> libgomp.so.1 wants libc.a, libpthreads.a, and libgcc_s.a. The first two do
>> not present a problem. But there are four libgcc_s.a (normal, ppc64,
>> pt
I started a new web site at http://aix-consulting.net to provide
installp images for open source programs. I started with gcc. The
required images are also available on the site.
This is a hosted site and I don't know how much bandwidth and
performance I'm going to get. There is a way to
I just discovered that the build sequence for gcc on AIX version 5.3,
what is called "TL08" fails. The first symptom is options.h has
double defines in it.
e.g.
redeclaration of enumerator 'OPT_d'
But even after that is fixed by hand, there are other issues.
Switching from AIX's awk or na
Lets suppose I build GNU's sed using gcc 4.2.0 on AIX. At link time,
the flag -L/usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/../../.. is
passed along with -L/usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0 to
ld. sed links and runs fine.
In the executable, this list of paths is kept and
This applies to GCC 4.2 on AIX 5.3 but probably applies elsewhere as
well.
If gettext is installed, then gcc builds differently. (That is not
surprising.)
gettext depends upon expat and expat depends upon libgcc_s.a. So
there is a circle of dependancies. Again, all this is already know
Hi,
I'm trying to create install images for AIX. I plan to put them
someplace for other AIX lusers.
The current "rpm" images from IBM assume that you have 5.3 TL05 (a
particular level of 5.3). They simply plop in place the fixed
headers. On systems prior to TL05, those headers break.
Hi,
I believe I asked this question about four years ago and as I recall, there was
things on the horizon that seemed hopeful so I thought I would ask again.
Is there a way to have gcc produce some type of intermediate file that could be
used to generate a cscope like database. (Perhaps a bett
On Feb 2, 2006, at 11:28 AM, [EMAIL PROTECTED] wrote:
I'm trying to determine if we can export the GNU GCC product. Can
you
please let me know if it contains any encryption?
You mean besides the documentation itself which is cryptic at
times? No.
IIRC, there some one way hashes used, but
On Feb 3, 2006, at 1:52 PM, Joe Buck wrote:
On Fri, Feb 03, 2006 at 07:56:23PM +0100, andrzej wrote:
Hello,
I am sorry if this is the wrong address for tihis question, but I
couldn't find any other.
In the manual pages I couldn't find the information whether GCC
supports
the ISO C++ standar
thing like this already exist? -- perhaps hidden in one
if the debugging files that can be produced?
Thank you,
Perry Smith
How do I keep track of the "LTO" design process? I may not be able
to help 'cause I don't know enough about gcc's internals but I'd like
to if possible.
On Feb 13, 2006, at 2:47 PM, Mark Mitchell wrote:
Gabriel Dos Reis wrote:
Tom Tromey <[EMAIL PROTECTED]> writes:
[...]
| I think it wo
global_dtors ret 0 from line 82
23 config_lock_dtor ret 0 from line 75
Thank you for you help.
Perry Smith
c specific.
On Feb 15, 2006, at 2:40 PM, Mike Stump wrote:
On Feb 15, 2006, at 7:27 AM, Perry Smith wrote:
I am assuming I am doing something wrong but I am hoping someone can
give me a clue as to where to look.
I'd fire up a debugger and type up a couple of times from a
breakpoint i
I have asked this question before -- maybe to the gcc-help list but
I'm still unclear.
The problem is this:
struct foo {
int a;
int b;
int c;
};
static const int foo::*j = &foo::c; // accepted
class dog {
static const int foo::*k = &foo::c; // error
};
5.
On Feb 24, 2006, at 8:55 AM, Richard Guenther wrote:
On 2/24/06, Perry Smith <[EMAIL PROTECTED]> wrote:
I have asked this question before -- maybe to the gcc-help list but
I'm still unclear.
The problem is this:
struct foo {
int a;
int b;
int c;
};
static const
On Feb 24, 2006, at 4:34 PM, David Edelsohn wrote:
Andreas Conz writes:
Andreas> Hello to all and thank you for the good work,
Andreas> I was trying to build GCC 4.1 RC1 on AIX 5.1 _32bit_.
Andreas> The machine is not very fast and I made some mistakes in
the beginning.
Andreas> Now my bu
Thanks
I was mostly trying to give Andreas a way to determine what type of
system he has (via kdb).
On Feb 24, 2006, at 6:07 PM, David Edelsohn wrote:
Perry Smith writes:
Perry> You can build 64 bit libraries in 32 bit mode.
You are answering a different question. AIX suppo
s and sorry...
Perry
On Feb 27, 2006, at 6:00 AM, Dave Korn wrote:
On 24 February 2006 23:42, Perry Smith wrote:
On Feb 24, 2006, at 8:55 AM, Richard Guenther wrote:
The problem is this:
struct foo {
int a;
int b;
int c;
};
static const int foo::*j = &a
On Feb 27, 2006, at 11:35 AM, Joe Buck wrote:
On Mon, Feb 27, 2006 at 12:00:42PM -, Dave Korn wrote:
It has been illegal to initialise a static class member inside
the class
definition since sometime back in the early 90s. You must provide
a static
instantiation elsewhere and initiali
I hope I am viewed as an impartial but interested third party. I
would really like to see this happen. I did not know about gpc until
a few weeks ago when I did a google search. I may be mistaken but I
think the TeX community would be very interested in a GNU based Pascal.
I am aware tha
On Apr 10, 2006, at 3:39 PM, Jeffrey A Law wrote:
On Mon, 2006-04-10 at 13:29 -0700, Mark Mitchell wrote:
I'd rather not open the door to job postings, even for GCC
I see myself as a consumer of this list and not a producer so it is
hard to see myself as having a "vote". But if I do,
On Apr 19, 2006, at 9:00 AM, Neil Booth wrote:
So is this an object lesson for why optimizing for benchmarks is a
bad
idea?
We use to call this "benchmarketing"
I don't see why GNU would want to do that for anything.
.
The C++ abi spec and dwarf specs are good background reading
materials.
I looked for those a while back and never found them. Does anyone
have pointers to these?
Thank you,
Perry Smith
On May 3, 2006, at 8:58 AM, Daniel Jacobowitz wrote:
On Wed, May 03, 2006 at 07:12:43AM -0500, Perry Smith wrote:
On May 2, 2006, at 9:21 PM, Mike Stump wrote:
On May 2, 2006, at 4:23 AM, jacob navia wrote:
To get to the corresponding catch, the runtime should skip through
the intermediate
You might also check boost.org to see if they have this concept
already implemented. And if not, you could contribute it to them as
well.
On Jun 7, 2006, at 3:17 PM, [EMAIL PROTECTED] wrote:
Hi,
I'm a Msc. student in the computer science department of the
Technion, the
Israeli Institut
I think, a %D in a spec creates a list of -L/a/b/c -L/d/e/f. gcc -dumpspecs
shows me that link_libgcc goes to %D but it does not show me what %D produces.
Is there a way to get gcc to dump that out?
Basically what I'm trying to do is find the list of library paths that GCC
tells ld to use whe
, Jonathan Wakely wrote:
> On Jan 25, 2014 1:32 AM, "Perry Smith" wrote:
>>
>> I think, a %D in a spec creates a list of -L/a/b/c -L/d/e/f. gcc -dumpspecs
>> shows me that link_libgcc goes to %D but it does not show me what %D
>> produces. Is there a way to get
Hi,
This is an age old topic but I can't find how to solve it. I've searched the
past few days.
I'm trying to build passenger on AIX 6.1 TL07 SP03 using gcc 4.5.2 that I built
myself. I've used it for a number of months and have built many things.
The short question is how do I get rid of th
On Jul 31, 2012, at 4:30 PM, David Edelsohn wrote:
> On Sun, Jul 29, 2012 at 12:48 PM, Perry Smith wrote:
>> Hi,
>>
>> This is an age old topic but I can't find how to solve it. I've searched
>> the past few days.
>>
>> I'm trying to bui
Hi,
I hope I've researched this enough to ask decent questions.
I'm running gcc 4.5.2. AIX 6.1 TL07 SP03.
The essence of the problem is when a shared library is loaded, sometimes atexit
is called with a pointer to a destructor. This call (I gather) is produced by
gcc itself (or g++).
The pr
On Aug 4, 2012, at 11:56 PM, Ian Lance Taylor wrote:
> On Sat, Aug 4, 2012 at 2:43 PM, Perry Smith wrote:
>>
>> I hope I've researched this enough to ask decent questions.
>>
>> I'm running gcc 4.5.2. AIX 6.1 TL07 SP03.
>>
>> The essence
On Aug 5, 2012, at 1:09 PM, David Edelsohn wrote:
> On Sun, Aug 5, 2012 at 9:56 AM, Perry Smith wrote:
>
>> I was planning on exploring when _GLOBAL__FD was called today. I
>> need to figure out when gcc puts the call to the dtor in _GLOBAL__FD
>> path rather than in t
On Aug 5, 2012, at 3:50 PM, Perry Smith wrote:
>
> On Aug 5, 2012, at 1:09 PM, David Edelsohn wrote:
>
>> On Sun, Aug 5, 2012 at 9:56 AM, Perry Smith wrote:
>>
>>> I was planning on exploring when _GLOBAL__FD was called today. I
>>> need to figure ou
On Aug 5, 2012, at 3:50 PM, Perry Smith wrote:
>
> On Aug 5, 2012, at 1:09 PM, David Edelsohn wrote:
>
>> On Sun, Aug 5, 2012 at 9:56 AM, Perry Smith wrote:
>>
>>> I was planning on exploring when _GLOBAL__FD was called today. I
>>> need to figure ou
On Aug 7, 2012, at 10:52 AM, Ian Lance Taylor wrote:
> On Tue, Aug 7, 2012 at 5:43 AM, Perry Smith wrote:
>>
>> Not sure why this thread died. I've been looking at the code trying to gain
>> the courage to try and implement the changes I suggested but was
>>
On Aug 8, 2012, at 3:32 PM, David Edelsohn wrote:
> On Tue, Aug 7, 2012 at 1:42 PM, Perry Smith wrote:
>
>> Thanks. You just provide what I wanted / needed which is a sanity check.
>>
>> I'll open a bug report and that might get me some help.
>>
>
On Aug 18, 2012, at 7:48 PM, Perry Smith wrote:
> Hi Gang,
>
> I'm having an unforeseen issue. Hopefully I'm just doing something wrong.
>
> I'm on gcc 4.5.2. I started with a fresh build tree. I'm passing in
> --enable-__cxa_atexit:
>
>
Is there a way to get the -debug flag from the g++ command line to collect2?
I've tried -v (which appears to be passed through) -debug and --Wl,-debug
Right now, I do -v and then copy and paste the collect2 command adding the
-debug by hand.
Which works but is slower.
Thank you,
Perry
Hi,
I need more help on this project.
collect2 is dying when it calls ld for the first time because __dso_handle is
not defined. It is being reference from the calls to __cxa_atexit.
What I had planned to do was define it in the small .c stub that collect2
creates but that doesn't get created
On Aug 8, 2012, at 3:32 PM, David Edelsohn wrote:
> On Tue, Aug 7, 2012 at 1:42 PM, Perry Smith wrote:
>
>> Thanks. You just provide what I wanted / needed which is a sanity check.
>>
>> I'll open a bug report and that might get me some help.
>>
>
rigin/trunk or master?
2) After a git pull, do I need to completely blow away my build tree and start
completely over or can I just do configure and make?
3) Anyone have suggestions about the above error?
Thank you,
Perry Smith
David got me past my first problem.
AIX 6.1 TL07 SP03, gcc 4.5.2 git repository on "master". Last pull was
> commit 43780738cd22a2fbea5fd7d8260a76e0c3121f43
> Author: hubicka
> Date: Sat Oct 20 14:19:12 2012 +
Here is the new error:
> /gsa/ausgsa/projects/r/ruby/bin/bash /usr/work/src/g
tried to
load the 64 bit version of libstdc++. I can't figure out why it tried to do
that and I can't recreate it.
I also added the output of dump -H /usr/work/build/gcc.git/./gcc/cc1 to the
gist.
Any suggestions?
Thank you,
Perry Smith
On Oct 22, 2012, at 8:55 AM, Michael Haubenwallner wrote:
> On 10/22/2012 03:49 PM, Perry Smith wrote:
>> In stage 3, libatomic's configure fails. The config.log file is here:
>> https://gist.github.com/3931504
>>
>> I've recreated the conftest.c and ran
On Oct 22, 2012, at 7:58 PM, Perry Smith wrote:
>
> On Oct 22, 2012, at 8:55 AM, Michael Haubenwallner wrote:
>
>> On 10/22/2012 03:49 PM, Perry Smith wrote:
>>> In stage 3, libatomic's configure fails. The config.log file is here:
>>> https://gist.gith
gt; make[1]: Leaving directory `/usr/work/build/gcc.git'
> make: *** [bootstrap] Error 2
Can anyone help me figure out why the 2nd build dies in a different spot?
Thank you,
Perry Smith
On Oct 24, 2012, at 11:20 AM, Jonathan Wakely wrote:
> On 24 October 2012 15:10, Perry Smith wrote:
>> I thought I found a pilot error last night but it made no difference. I was
>> calling "make" and not "make bootstrap".
>
> Just "make" i
On Oct 24, 2012, at 11:28 AM, Perry Smith wrote:
>
> On Oct 24, 2012, at 11:20 AM, Jonathan Wakely wrote:
>
>> On 24 October 2012 15:10, Perry Smith wrote:
>>> I thought I found a pilot error last night but it made no difference. I
>>> was calling "make&
On Oct 24, 2012, at 8:12 PM, Perry Smith wrote:
> Just to satisfy my curiosity, I will build 4.5.2 on the same machine I'm now
> using to verify what I just said.
Yes. the gcc-4.5.2 tarball builds just fine on the same host using roughly the
same configuration options. I
On Oct 25, 2012, at 3:25 AM, Jonathan Wakely wrote:
> On 25 October 2012 02:12, Perry Smith wrote:
>>
>> This also changes a previous statement I made: while I did build 4.5.2 on a
>> different level of AIX, it was a 6.1 level and has the same LD_LIBRARY_PATH
>> fe
On Oct 25, 2012, at 11:31 AM, David Edelsohn wrote:
> On Thu, Oct 25, 2012 at 12:20 PM, Jonathan Wakely
> wrote:
>> On 25 October 2012 14:16, Perry Smith wrote:
>>>
>> For trunk, yes, see the top entry of http://gcc.gnu.org/gcc-4.8/changes.html
>>
>>
On Oct 25, 2012, at 1:31 PM, Perry Smith wrote:
>
> On Oct 25, 2012, at 11:31 AM, David Edelsohn wrote:
>
>> On Thu, Oct 25, 2012 at 12:20 PM, Jonathan Wakely
>> wrote:
>>> On 25 October 2012 14:16, Perry Smith wrote:
>>>>
>>> For trunk, y
>> Does the group / team have an AIX 6.1 build machine to build the trunk on?
>> Or am I the first to person walk into this?
>
> I'm still curious in the question above
And I'm still curious :-)
I opened this bug report: http://gcc.gnu.org/bugzilla/post_bug.cgi
I finally got trunk to build.
>> Does the group / team have an AIX 6.1 build machine to build the trunk on?
>> Or am I the first to person walk into this?
>
> I'm still curious in the question above
And I'm still curious :-)
I opened this bug report:http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55105
I finally got trunk to
s because they are C++ and not C but perhaps there is a
different way to add them in.
My original logic in adding them to libstdc++.a is they are only used (called)
by code automatically produced by g++ and not gcc.
But I'm happy to do / try whatever.
Thank you for your time,
Perry Smith
On Oct 29, 2012, at 9:32 AM, Jonathan Wakely wrote:
> On Oct 29, 2012 1:54 PM, "Perry Smith" wrote:
>>
>> My original logic in adding them to libstdc++.a is they are only used
>> (called) by code automatically produced by g++ and not gcc.
>
> That doesn
On Oct 29, 2012, at 9:08 AM, David Edelsohn wrote:
>
> Some of the support you are adding is equivalent to code in
> libgcc/crtstuff.c. My question was if it is possible to re-use some
> of that code for the new AIX support.
>
> Is the code really C++? Both cxa_atexit.cc and cxa_finalize.cc ar
On Oct 29, 2012, at 1:47 PM, Jonathan Wakely wrote:
> Compiling with gcc does not imply you're not compiling C++.
So, in my sample code, how do you compile it with gcc?
On Oct 29, 2012, at 1:47 PM, Jonathan Wakely wrote:
> It compiles fine with gcc if you put it in a file that ends in .cc or
> .C or .cpp or any of the other extensions that tell gcc to run the
> cc1plus compiler. Please read
> http://gcc.gnu.org/onlinedocs/gcc/Invoking-G_002b_002b.html
I didn't
86 matches
Mail list logo