Jump to content
  • We need you!

    You must register to discover all the features of our community!

  • 0

FreeBSD 12.1 source problem



Posted (edited)

Version of Files : 40k

I've got the problem that my source works on 11.3 32/64bit flawless, but when it comes to FreeBSD 12.0/12.1 my generated game/db file wont work.

I can compile the game/db without problems but it crashes when i want to start it, hopefully someone got a solution for this.

A compiled file from 11.3 works on 12.1


lldb output:




May 15 16:27:06 :: connecting to MySQL server (player)
May 15 16:27:06 :: CREATING DIRECT_SQL
May 15 16:27:06 :: AsyncSQL: locale latin1



The syserr is clean.

I already tryed to check the Changelogs from FreeBSD 11.3 to 12.0 but I cant find something that could be the fault.


Edit: also tryed to upgrade to G++9 and C++2a, but no success.

Edited by DrTurk (see edit history)
  • Lmao 1
Link to post

7 answers to this question

Recommended Posts

  • 0

Try adding -fno-stack-protector to compilation flags.

You may as well check for linked libs if any of them can be the reason of the stack protector to kick in.

  • Love 1
Link to post
  • 0

i'm using a libc.a from FreeBSD 11.3 for compiling and then i switch back to the old one, after compiling for now.

have to static link the older version of the libc, so that i dont have to replace it on a 12.0+ machine

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.