10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hey guys ,
after migrate our AIX server from 6.1 to 7.1 , we insalled c compilator with rpm files
Server:root:/ > rpm -qa | grep gcc
libgcc-4.8.5-1
gcc-cpp-4.8.5-1
gcc-4.8.5-1
gcc-c++-4.8.5-1
but whene we proceed to compile a c programm we have this error
exec(): 0509-036... (17 Replies)
Discussion started by: yahia
17 Replies
2. Programming
after migrate our AIX server from 6.1 to 7.1 , we insalled c compilator with rpm files
Server:root:/ > rpm -qa | grep gcc
libgcc-4.8.5-1
gcc-cpp-4.8.5-1
gcc-4.8.5-1
gcc-c++-4.8.5-1
but whene we proceed to compile a c programm we have this error
exec(): 0509-036 Cannot load... (2 Replies)
Discussion started by: yahia
2 Replies
3. AIX
Hi All,
We are in the processing of upgrading our AIX server OS from 5.2.0.0 to 6.1. And we have a set of highly critical running C applications in AIX box. I have a question like whether this upgradation of OS will affect any C code compilation and C runtime enviornment...
how does AIX 6.1... (1 Reply)
Discussion started by: karthikc
1 Replies
4. AIX
Hi,
I am working with AIX5.3 and I downloaded the gcc-4.2.4.tar.bz2 from the site and when I am trying to un-tar it.It is throwing error--
Please help me to resolve it.
Thanks in Advance.. (6 Replies)
Discussion started by: smartgupta
6 Replies
5. AIX
I'm trying to compile gcc 3.4.6 on AIX 5.2 but I get this error:
bison -t --name-prefix=java_ -o java/parse.c java/parse.y
M4sugar requires GNU M4. Install it before installing M4sugar or
set the M4 environment variable to its path name.make: *** Broken pipe
gcc -c -g -O2 -DIN_GCC -W... (7 Replies)
Discussion started by: untamed
7 Replies
6. AIX
hi,
i need to install a source code from an open source on AIX 4.3. but first i need to install gcc.
is gcc going to screw up AIX 4.3? the box is doing heavy legacy stuff with engine and db2 on it. and over 200 users.
any comment would be appreciated.
thanks (9 Replies)
Discussion started by: itik
9 Replies
7. AIX
Hi there
I've got a problem getting my mysql libraries to work.
every time I compile my source code it gives my a compiler error.
Cannot find a rule to create target /usr/include/mysql/mysql.h
AND
/usr/include/mysql/mysql.h: Permission denied
Is anyone fimiliar with this error, and can... (1 Reply)
Discussion started by: cipher#1
1 Replies
8. UNIX for Dummies Questions & Answers
Hi there
I've got a problem getting my mysql libraries to work.
every time I compile my source code it gives my a compiler error.
Cannot find a rule to create target /usr/include/mysql/mysql.h
AND
/usr/include/mysql/mysql.h: Permission denied
Is anyone fimiliar with this error, and can... (0 Replies)
Discussion started by: cipher#1
0 Replies
9. UNIX for Dummies Questions & Answers
Dear All ,
I need to install this file to my Linux Red Hat 9 machine . i need it urgent , can anyone give me the link :
file name : perl-suidperl-5.8.0-xx.i386.rpm
thanks (2 Replies)
Discussion started by: tamemi
2 Replies
10. Programming
I have tried to use the getpri function
(get priority) from the standard C library,
using the gcc compiler on AIX,
but the function does not seem to
reside in the library although it is declared in the
header. The gcc was installed the normal way
Any ideas ? (1 Reply)
Discussion started by: Seeker
1 Replies
ERROR::DWARF(7stap) ERROR::DWARF(7stap)
NAME
error::dwarf - dwarf debuginfo quality problems
DESCRIPTION
Systemtap sometimes relies on ELF/DWARF debuginfo for programs being instrumented to locate places to probe, or context variables to
read/write, just like a symbolic debugger does. Even though examination of the program's source code may show variables or lines where
probes may be desired, the compiler must preserve information about them for systemtap (or a debugger such as gdb) to get pinpoint access
to the desired information. If a script requires such data, but the compiler did not preserve enough of it, pass-2 errors may result.
Common conditions that trigger these problems include;
compiler version
Prior to GCC version 4.5, debuginfo quality was fairly limited. Often developers were advised to build their programs with -O0 -g
flags to disable optimization. GCC version 4.5 introduced a facility called "variable-tracking assignments" that allows it to gen-
erate high-quality debuginfo under full -O2 -g optimization. It is not perfect, but much better than before. Note that, due to
another gcc bug (PR51358) -O0 -g can actually sometimes make debuginfo quality worse than for -O2 -g.
function inlining
Even modern gcc sometimes has problems with parameters for inlined functions. It may be necessary to change the script to probe at
a slightly different place (try a .statement() probe, instead of a .function() probe, somewhere a few source lines into the body of
the inlined function. Or try putting a probe at the call site of the inlined function. Or use the if @defined($var) { ... } script
language construct to test for the resolvability of the context variable before using it.
instruction reordering
Heavily optimized code often smears the instructions from multiple source statements together. This can leave systemtap with no
place to choose to place a probe, especially a statement probe specified by line number. Systemtap may advise to try a nearby line
number, but these may not work well either. Consider placing a probe by a statement wildcard or line number range.
ALTERNATIVES
In order to reduce reliance on ELF/DWARF debuginfo, consider the use of statically compiled-in instrumentation, such as kernel tracepoints,
or <sys/sdt.h> userspace markers. Such instrumentation hook sites are relatively low cost (just one NOP instruction for sdt.h), and nearly
guarantee the availability of parameter data and a reliable probe site, all without reliance on debuginfo.
SEE ALSO
stap(1),
http://dwarfstd.org/,
http://sourceware.org/systemtap/wiki/TipContextVariables,
http://gcc.gnu.org/wiki/Var_Tracking_Assignments,
warning::debuginfo(7stap),
error::reporting(7stap)
ERROR::DWARF(7stap)