Original Titebond (the red label one). It's the de facto standard for modern guitar building.
Avoid Titebond 2 and 3 as whilst they are stronger and waterproof, the original is as strong as you need and if you do ever need to unglue a joint, you can do it with steam and/or heat. With the others you need a lot more heat and you'll do a lot more damage.
It's a PVA-based glue but with extra contents that make it a bit stronger than standard PVA, but more importantly a bit harder, so better for transferring vibrations.
A more traditional option is hide glue. It's less convenient to use, but it does give a very hard joint. It does get brittle as it ages, but that's over a very long time.
Last edited by Simon Barden; 17-08-2023 at 05:04 PM.