Disabling static builds [was: May is SDL release month!]

Hey, everyone. We want to hear from those affected by bug #1431 [1]. I made
a patch for it, but there could be side effects on non Linux platforms, and
Sam is thinking the actual fix for this problem is removing the option to
disable static builds for SDL.
So, before doing that we want to check with those affected on the reasons
why they were trying to disable static builds (“just because” is not a
valid argument :slight_smile: )

I’m bcc’ing everyone on the bug as well just in case they are not
subscribed here.

Thanks,

Gabriel.

[1] http://bugzilla.libsdl.org/show_bug.cgi?id=1431

2013/4/4 Carles Pag?s <page.lists at gmail.com>> This: http://bugzilla.libsdl.org/show_bug.cgi?id=1431

I think it must be easy to solve but I suck at autotools (yes, I’m for
cmake).

The problem is caused by mixing libtool builds with non-libtool builds. The
quick fix is to replace .o and .a with .lo and .a, replace explicit calls to
ar and ranlib with $(LIBTOOL) --mode=link, and replace explicit install
calls with $(LIBTOOL) --mode=install. I’ve attached a patch to the ticket.On 04/17/2013 09:19 AM, Gabriel Jacobo wrote:

Hey, everyone. We want to hear from those affected by bug #1431 [1]. I made a
patch for it, but there could be side effects on non Linux platforms, and Sam is
thinking the actual fix for this problem is removing the option to disable
static builds for SDL.
So, before doing that we want to check with those affected on the reasons why
they were trying to disable static builds (“just because” is not a valid
argument :slight_smile: )

I’m bcc’ing everyone on the bug as well just in case they are not subscribed here.

Thanks,

Gabriel.

[1] http://bugzilla.libsdl.org/show_bug.cgi?id=1431

2013/4/4 Carles Pag?s <page.lists at gmail.com <mailto:page.lists at gmail.com>>

This: http://bugzilla.libsdl.org/show_bug.cgi?id=1431

I think it must be easy to solve but I suck at autotools (yes, I'm for cmake).

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

I just happen to use a build mechanism that passes --disable-static when
available, so it’s not a big deal if the option is dropped.

2013/4/17 John > The problem is caused by mixing libtool builds with non-libtool builds.

The quick fix is to replace .o and .a with .lo and .a, replace explicit
calls to ar and ranlib with $(LIBTOOL) --mode=link, and replace
explicit install calls with $(LIBTOOL) --mode=install. I’ve attached a
patch to the ticket.

On 04/17/2013 09:19 AM, Gabriel Jacobo wrote:

Hey, everyone. We want to hear from those affected by bug #1431 [1]. I
made a
patch for it, but there could be side effects on non Linux platforms, and
Sam is
thinking the actual fix for this problem is removing the option to disable
static builds for SDL.
So, before doing that we want to check with those affected on the reasons
why
they were trying to disable static builds (“just because” is not a valid
argument :slight_smile: )

I’m bcc’ing everyone on the bug as well just in case they are not
subscribed here.

Thanks,

Gabriel.

[1] http://bugzilla.libsdl.org/**show_bug.cgi?id=1431http://bugzilla.libsdl.org/show_bug.cgi?id=1431

2013/4/4 Carles Pag?s <@Carles_Pages <mailto:@Carles_Pages

This: http://bugzilla.libsdl.org/**show_bug.cgi?id=1431<http://bugzilla.libsdl.org/show_bug.cgi?id=1431>

I think it must be easy to solve but I suck at autotools (yes, I'm

for cmake).

_____________**
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/**listinfo.cgi/sdl-libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

_____________**
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/**listinfo.cgi/sdl-libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

In this case SDLmain and SDLtest are only available as static libraries, so
–disable-static is a bad thing if it actually prevents them from being
built.On Wed, Apr 17, 2013 at 12:02 PM, Carles Pag?s <page.lists at gmail.com> wrote:

I just happen to use a build mechanism that passes --disable-static when
available, so it’s not a big deal if the option is dropped.

2013/4/17 John

The problem is caused by mixing libtool builds with non-libtool builds.
The quick fix is to replace .o and .a with .lo and .a, replace explicit
calls to ar and ranlib with $(LIBTOOL) --mode=link, and replace
explicit install calls with $(LIBTOOL) --mode=install. I’ve attached a
patch to the ticket.

On 04/17/2013 09:19 AM, Gabriel Jacobo wrote:

Hey, everyone. We want to hear from those affected by bug #1431 [1]. I
made a
patch for it, but there could be side effects on non Linux platforms,
and Sam is
thinking the actual fix for this problem is removing the option to
disable
static builds for SDL.
So, before doing that we want to check with those affected on the
reasons why
they were trying to disable static builds (“just because” is not a valid
argument :slight_smile: )

I’m bcc’ing everyone on the bug as well just in case they are not
subscribed here.

Thanks,

Gabriel.

[1] http://bugzilla.libsdl.org/**show_bug.cgi?id=1431http://bugzilla.libsdl.org/show_bug.cgi?id=1431

2013/4/4 Carles Pag?s <page.lists at gmail.com <mailto:page.lists at gmail.com

This: http://bugzilla.libsdl.org/**show_bug.cgi?id=1431<http://bugzilla.libsdl.org/show_bug.cgi?id=1431>

I think it must be easy to solve but I suck at autotools (yes, I'm

for cmake).

_____________**
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/**listinfo.cgi/sdl-libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

_____________**
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/**listinfo.cgi/sdl-libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org