1 msgproblem in compiling bootstrap gcc 4.2.2

system() call causes gcc-x64 profiling to crash
\ Vincent Diepeveen (20 Dec 2007)
. \ Andrew Haley (20 Dec 2007)
. . \ Vincent Diepeveen (21 Dec 2007)

1 msgfile not found when compiling gcc under AIX 5.3
7 msgMore questions on sysroots
1 msgBizarre behavior with various __attribute__s
1 msg-pg profiling instrumentation question
3 msgProblem building gcc 4.2.2 on SunOS 5.9
8 msgProblem building gcc-4.2.2 64-bit on hp-ux 11.11
12 msgProblem building gcc-4.2.2 on 64-bit ubuntu linux
1 msgVote for Hungary!
1 msgFwd: gcc build fails on Mac Intel
1 msgfailure to build gcc
7 msgBinary built on different platforms with exact ...
1 msggFortran advice
5 msg(bad) disassemblie
4 msgTwo questions of gcc testing
4 msgposix threads error
4 msgDocumentation about debugging formats
2 msgmajor linker errors | gcc (gfortran)
2 msggcc build fails with undefined __gthread_active_p
Subject:Re: system() call causes gcc-x64 profiling to crash
Group:Gcc-help
From:Vincent Diepeveen
Date:21 Dec 2007


Thanks Andrew,

We figured out the problem in the meantime: setting a signal at start
of program causes that profiler gives error on system() function.



On Dec 20, 2007, at 11:28 AM, Andrew Haley wrote:

> Vincent Diepeveen writes:
>> Good morning,
>>
>> When we try to profile (-pg and with optimizations turned on)
>> at SUSE x64 gcc 4.2.2, then the software gets hung at the
>> point of calling the function system() in c++ code.
>>
>> We are using both intel as well as amd hardware it gets hung at
>> them all.
>>
>> What is the best way for us to get around this and proceed?
>
> Produce a simple test case and then we'll be able to talk about it.
> As it stands we don't know if this is a kernel problem, libc, or gcc.
> Maybe you're just using it wrong.
>
> Andrew.
>
> --
> Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor,
> Berkshire, SL4 1TE, UK
> Registered in England and Wales No. 3798903
>



© 2004-2008 readlist.com