bus error sur une machine SUN
Bonjour,
J'ai developpez un code sur des machine Linux (Suse et Fedora)
Tout marche bien, ca compile bien.
La je dois basculer sur une machine SUN :
Code:
1 2 3
|
pbil:subtil uname -a
SunOS pbil 5.9 Generic_117171-07 sun4u sparc SUNW,Sun-Fire-880 |
Ca compile bien mais a l'execution j'ai un "Bus error"
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13
|
pbil:subtil make
g++ -Wall -I. -g -O2 -c Chabot.cxx -o Chabot.o
g++ -Wall -I. -g -O2 -c libChabot.cxx -o libChabot.o
g++ -Wall -I. -g -O2 -c GereChabot.cxx -o GereChabot.o
g++ -Wall -I. -g -O2 -c constantes.cxx -o constantes.o
g++ -Wall -I. -g -O2 -c Environnement.cxx -o Environnement.o
g++ -Wall -I. -g -O2 -c main.cxx -o main.o
main.cxx: In function `int main(int, char**)':
main.cxx:28: warning: unused variable `Chabot*unChabot'
g++ -Wall -I. -g -O2 -o exe Chabot.o libChabot.o GereChabot.o constantes.o Environnement.o main.o
pbil:subtil ./exe
Bus error |
Ce qui est bisare c'est que sur ma machine Fedora, ca s'execute sans probleme.
Le pire c'est que je n'arrive pas a debugger avec gdb sur la machine SUN, il me dis quasiment tout le temps "Cannot access memory at address"
Pourriez me donner une piste ?