Pol96 and FreeBSD incompatiblity
-
bloodbob
Pol96 and FreeBSD incompatiblity
Is there anyway you guys could change your code so that you only use systemcalls that can be mapped on freebsd. The latest pol cores currently use "sys_set_thread_area" and assuamble "sys_get_thread_area" which unfortunatly currently aren't supported by freebsd.
Umm off hand I think you can do this by using --disable-tls switch on gcc you may wish to make a seperate build for this as their maybe some preformance hit ( dunno how much ).
Umm off hand I think you can do this by using --disable-tls switch on gcc you may wish to make a seperate build for this as their maybe some preformance hit ( dunno how much ).
after tons of testings @ a FreeBSD 6.1... I found out, that Pol will start up (no error in start.log) if I remove some lines using two variables inside Core.
DON'T ask me why this is neccessary... it seems, that FreeBSD doesn't love last_checkpoint and num_until_dot var... that's strange... really strange.
...
Another problem: backstack doesn't help here. I don't get the information I need. both problems above are found via tons of additional cout-logs. know I've a crash inside my start.ecl on a line defining a part of my teleporters-array. backstack is near empty... no idea yet.
...
I've compiled stuff with same gcc-props like linux release (plus -static)...
Any Idea?
Shinigami
p.s.: FreeBSD runs on a VM (I think it's VirtualPC @ Win2k+3... not sure), so I'm compiling it on a gentoo, scp it, "brandelf -t Linux pol"'it and run'it
DON'T ask me why this is neccessary... it seems, that FreeBSD doesn't love last_checkpoint and num_until_dot var... that's strange... really strange.
...
Another problem: backstack doesn't help here. I don't get the information I need. both problems above are found via tons of additional cout-logs. know I've a crash inside my start.ecl on a line defining a part of my teleporters-array. backstack is near empty... no idea yet.
...
I've compiled stuff with same gcc-props like linux release (plus -static)...
Any Idea?
Shinigami
p.s.: FreeBSD runs on a VM (I think it's VirtualPC @ Win2k+3... not sure), so I'm compiling it on a gentoo, scp it, "brandelf -t Linux pol"'it and run'it
Something changes in this subject? POL 096 is crashing on the beggining.. Here is my log..
Code: Select all
Caught SIGSEGV (Segfault). Please mail the following to pol-core-test:
=== CUT ===
Build: POL096.2-2006-08-30 Vestal Virgin (gentoo)
Last Script: PC: 0
Stack Backtrace:
[0x8253b7b]
[0x8267e1b]
[0xbfbfffbf]
[0x8115447]
[0x8115d1b]
[0x825b122]
[0x82a9858]
[0x8048151]
=== CUT ===
Segmentation fault
feel free to use it: http://releases.polserver.com/freebsd/
was build on a FreeBSD 6.1... so don't ask me, if it will work on different releases or other BSD too - just test it and report.
Shinigami
was build on a FreeBSD 6.1... so don't ask me, if it will work on different releases or other BSD too - just test it and report.
Shinigami