04-30-2009
Getting the random failure after upgraded the gcc version 3.1 to 3.4.6
I am getting the a random failure after upgrading the gcc version 3.1 to 3.4.6. My code where it is failing contains some STL and shared memory concepts.It is perfectly working on old version of gcc.I want to know what are possible causes that made this random error after upgrading gcc 3.4.6.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Folks,
I am using gcc 2.7.2.1 for NeXT PDO on my Solaris box. I want to get gcc version in a script. I do gcc -v and try to filter the output through awk. It won't come. Strange. Assigning it to the variable is also not possible. Any ideas ?
Cheers,
Amol. (4 Replies)
Discussion started by: amol
4 Replies
2. UNIX for Dummies Questions & Answers
How do you determine which version of the GNU gcc compiler is on your system? (1 Reply)
Discussion started by: Ben070371
1 Replies
3. Solaris
Hello everybody,
I am having two machines. I am using g++v2.95
When I do the build,the size of output file on both machines differ. I am not able to find what can be the problem. Both the machines are solaris 5.6
The command is :
g++ -c -g -I./ -I../../../include -I/usr/local/include/g++-3... (1 Reply)
Discussion started by: manishs13
1 Replies
4. AIX
I'm trying to build gcc-3.4.4 on AIX 5.3, and I get the following error in phase 2. I suspect that the problem is related to AIX's "as" assembler somehow, but from what I understand, the binutils assembler is not useable on AIX 5.1 or later. Any ideas?
checking for powl declaration... yes... (2 Replies)
Discussion started by: Duggerdee
2 Replies
5. UNIX for Dummies Questions & Answers
Please someone can say me how to know the gcc version installed on my sunsolaris?
Thanks (2 Replies)
Discussion started by: Minguccio75
2 Replies
6. HP-UX
Hi,
In unix box GCC installed under the /usr/local/bin/gcc, i want to know the version of GCC.
Could you please let me know the process for that.
Thanks & Regards,
Suji (1 Reply)
Discussion started by: srujana
1 Replies
7. Red Hat
I have a host PC and a target system .
Host System -> gcc (3.2) Redhat linux kernel 2.4.20-8 , glibc 2.3
Target System -> gcc (4.1) Fedora linux kernel 2.6.18-1.2798.fc6, glibc 2.5
I would like to build test program that can be run on both systems
---------------------------
... (0 Replies)
Discussion started by: mugdha
0 Replies
8. Shell Programming and Scripting
Need to use dd to generate a large file from a sample file of random data. This is because I don't have /dev/urandom.
I create a named pipe then:
dd if=mynamed.fifo do=myfile.fifo bs=1024 count=1024
but when I cat a file to the fifo that's 1024 random bytes:
cat randomfile.txt >... (7 Replies)
Discussion started by: Devyn
7 Replies
9. What is on Your Mind?
Hello,
FYI, I upgraded our Tapatalk Version to version 4.8.1 today (from version 4.3.2). All seem to be OK but we never know!
Please post in this thread if you see any problems after the upgrade.
Thanks! (1 Reply)
Discussion started by: Neo
1 Replies
10. UNIX for Beginners Questions & Answers
I would like to acquire a very old version of gcc: 4.4.3 and set it up in such a way that I can use the update-alternatives command to switch between my current version and the older version. I believe I may have found a website where I can download 4.4.3 from. However, I am not sure what all I... (6 Replies)
Discussion started by: Circuits
6 Replies
LEARN ABOUT DEBIAN
trampoline_r
TRAMPOLINE(3) Library Functions Manual TRAMPOLINE(3)
NAME
trampoline - closures as first-class C functions
SYNOPSIS
#include <trampoline_r.h>
function = alloc_trampoline_r(address, data0, data1);
free_trampoline_r(function);
is_trampoline_r(function)
trampoline_r_address(function)
trampoline_r_data0(function)
trampoline_r_data1(function)
DESCRIPTION
These functions implement closures as first-class C functions. A closure consists of a regular C function and a piece of data which gets
passed to the C function when the closure is called.
Closures as first-class C functions means that they fit into a function pointer and can be called exactly like any other C function. func-
tion = alloc_trampoline_r(address, data0, data1) allocates a closure. When function gets called, it stores in a special "lexical chain reg-
ister" a pointer to a storage area containing data0 in its first word and data1 in its second word and calls the C function at address.
The function at address is responsible for fetching data0 and data1 off the pointer. Note that the "lexical chain register" is a call-used
register, i.e. is clobbered by function calls.
This is much like gcc's local functions, except that the GNU C local functions have dynamic extent (i.e. are deallocated when the creating
function returns), while trampoline provides functions with indefinite extent: function is only deallocated when free_trampoline_r(func-
tion) is called.
is_trampoline_r(function) checks whether the C function function was produced by a call to alloc_trampoline_r. If this returns true, the
arguments given to alloc_trampoline_r can be retrieved:
trampoline_r_address(function) returns address,
trampoline_r_data0(function) returns data0,
trampoline_r_data1(function) returns data1.
SEE ALSO
trampoline(3), gcc(1), varargs(3)
PORTING
The way gcc builds local functions is described in the gcc source, file gcc-2.6.3/config/cpu/cpu.h.
AUTHOR
Bruno Haible <bruno@clisp.org>
ACKNOWLEDGEMENTS
Many ideas were cribbed from the gcc source.
22 October 1997 TRAMPOLINE(3)