Compiling from CVS (was: RandR support?)

Is the main CVS trunk broken right now? Compiling SDL from there gives
me an unusable libSDL-1.2.so.0.7.3 that’s more than a megabyte yet
fails all symbol resolvings… SDL 1.2.9-r1 compiled from Portage
works fine.

I notice -fvisibility=hidden is now used on every source file
compiled, which sounds really fishy to me… and I don’t know how to
turn it off.On 4/5/06, Simon Roby <@Simon_Roby> wrote:

On 4/5/06, Sam Lantinga wrote:

Has anyone worked on adding RandR extension support to the X11 backend
yet? From what I can tell, right now SDL only supports changing
resolutions using the old and ugly XFree86-VidMode extension. I think
it would be important in the long term for SDL to have RandR support.
(for example, the experimental XGL server supports only RandR)

Anyway, if nobody has tackled the issue yet, I’d like to give it a
shot. I’m just asking to avoid doing something that someone else has
already worked on.

It’s in CVS:
http://www.libsdl.org/cvs.php

D’oh, I checked the CVS tree prior to posting this, but I guess I
looked at the wrong tag… My bad.

  • SR

Is the main CVS trunk broken right now? Compiling SDL from there gives
me an unusable libSDL-1.2.so.0.7.3 that’s more than a megabyte yet
fails all symbol resolvings… SDL 1.2.9-r1 compiled from Portage
works fine.

I notice -fvisibility=hidden is now used on every source file
compiled, which sounds really fishy to me… and I don’t know how to
turn it off.

What platform and compiler are you using? Is it still broken?

-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment

Just tried again with SVN trunk revision 2262 and it’s still broken.
To make sure it’s not a problem caused by my current setup, I tried
removing my system SDL and replacing it with an SDL 1.2.9 I compiled
myself, and it worked fine. The SVN version OTOH appears to make any
SDL application crash with an “undefined symbol” message as soon as
the first SDL function is called.

I’m running Gentoo and using GCC 3.4.6-r1.On 4/14/06, Sam Lantinga wrote:

Is the main CVS trunk broken right now? Compiling SDL from there gives
me an unusable libSDL-1.2.so.0.7.3 that’s more than a megabyte yet
fails all symbol resolvings… SDL 1.2.9-r1 compiled from Portage
works fine.

I notice -fvisibility=hidden is now used on every source file
compiled, which sounds really fishy to me… and I don’t know how to
turn it off.

What platform and compiler are you using? Is it still broken?

  • SR