/libgacc'
gcc -c -g3 -I/usr/include -O2 -Wall -I. -I.. -DDEBUG_LEVEL=0 comms.c
/tmp/ccieLhss.s: Assembler messages:
/tmp/ccieLhss.s:6180: Error: relocation overflow
make[1]: *** [comms.o] Error 1
make[1]: Leaving directory `/home/thomas/devel/gacc/libgacc'
make: *** [all] Error 2
| Thomas Nemeth
Le 22.10.03, Ben Collins a tapoté :
| This is a bug in the code. Too much allocation on the stack:
|
| int read_infos (int socket_data, char **infos) {
| int nb;
| char datas[SSIZE_MAX];
|
| /* SSIZE_MAX = 2147483647 */
|
| That's 2 gigs of stack allocation...not likely to happen :)
Le 22.10.03, Ben Collins a tapoté :
| I'm not very familiar with compilers internals but (I once made
| a code-generator, that's all) but how can a double negative can
| happen ?
|
| It is basically this:
|
| fprintf(asm_file, \tsave\t%sp, -%d, %sp\n, size_of_stack);
|
| So
3 matches
Mail list logo