Pol96 and FreeBSD incompatiblity

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 096.
Note: Core 096 is no longer officially supported.
Post Reply
bloodbob

Pol96 and FreeBSD incompatiblity

Post by bloodbob »

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 ).
User avatar
oenone
New User
Posts: 6
Joined: Wed Feb 01, 2006 3:25 am

Post by oenone »

i'd like to see that, too :)
(running OpenBSD, but it should have the same problems)

regards,
oenone
Gestener
New User
Posts: 7
Joined: Mon Feb 20, 2006 6:58 pm

Post by Gestener »

I'll 3 that. Come on guys !!!! Recompile for us
Shinigami
Former Developer
Posts: 308
Joined: Mon Jan 30, 2006 9:28 am

Post by Shinigami »

I'll get an account on a freebsd so I'll test it (if I'll find some time). my gcc doesn't know "--disable-tls" :o/

Shinigami
Shinigami
Former Developer
Posts: 308
Joined: Mon Jan 30, 2006 9:28 am

Post by Shinigami »

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
Shinigami
Former Developer
Posts: 308
Joined: Mon Jan 30, 2006 9:28 am

Post by Shinigami »

jfyi: FreeBSD compatibility gets closer and closer to reality...

Shinigami
Shinigami
Former Developer
Posts: 308
Joined: Mon Jan 30, 2006 9:28 am

Post by Shinigami »

jfyi: I had saveral problems with the freebsd account, but no I've used my own Virtual PC 2004 and installed a FreeBSD 6.1 there to solve the problems. in parallel I'll try to get Pol build there... @ the moment STLport will not compile... it hates me

Shinigami
Gestener
New User
Posts: 7
Joined: Mon Feb 20, 2006 6:58 pm

Post by Gestener »

I will love you for ever if you get me a binary for BSD. Doesn't have to be supported. Love to move my shard onto 096. Thanks for all the work your doing !!!
Shinigami
Former Developer
Posts: 308
Joined: Mon Jan 30, 2006 9:28 am

Post by Shinigami »

the problem here: I can get it running the start-up process, but than, later, it will crash... last weekend I had to get my own VM with BSD, because my other line is broken... it tooks many of time to test, because I don't understand why it will not work...

Shinigami
Zgryt
New User
Posts: 19
Joined: Wed Sep 20, 2006 11:53 am

Post by Zgryt »

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
Shinigami
Former Developer
Posts: 308
Joined: Mon Jan 30, 2006 9:28 am

Post by Shinigami »

I need just more time... still set up a FreeBSD 6.1 in a VPC... to establish a stable building enviroment... 48h / day are not enough :o(

Shinigami
Zgryt
New User
Posts: 19
Joined: Wed Sep 20, 2006 11:53 am

Post by Zgryt »

POL is crashing even with linux emulation.. tested on:
FreeBSD 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE
with
linux_base-gentoo-stage3-2006.0_1

Shinigami help us!
Zgryt
New User
Posts: 19
Joined: Wed Sep 20, 2006 11:53 am

Post by Zgryt »

POL develop team, please pimp my 096 POL! :]
Let he work on freeBSD to!
Shinigami
Former Developer
Posts: 308
Joined: Mon Jan 30, 2006 9:28 am

Post by Shinigami »

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
CrazyMan
Expert Poster
Posts: 71
Joined: Wed Apr 05, 2006 8:08 am

Post by CrazyMan »

I`m posted messages in pol097 bugs..
On freeBSD dont work AUX scripts and Web scripts.
If u need- i can give you FreeBSD account, or donate some ...
But i need WORKED version pol on FreeBSD )
Help me ^)
Post Reply