We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2879 - configure script broken for Raspberry Pi 2 on Raspbian
Summary: configure script broken for Raspberry Pi 2 on Raspbian
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: HG 2.1
Hardware: ARM Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords: target-2.0.4, triage-2.0.4
Depends on:
Blocks:
 
Reported: 2015-02-15 02:37 UTC by Donny
Modified: 2015-04-11 06:02 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Donny 2015-02-15 02:37:16 UTC
The current configure script sets header / lib information for the Raspberry Pi based on the toolchain name *-raspberrypi-linux-*

This still works for the original Raspberry Pi, however the new Raspberry Pi 2 toolchain is named armv7l-unknown-linux-gnueabihf, so the configure script fails to find the relevant files.
Comment 1 Ryan C. Gordon 2015-02-19 05:22:18 UTC
Marking a large number of bugs with the "triage-2.0.4" keyword at once. Sorry if you got a lot of email from this. This is to help me sort through some bugs in regards to a 2.0.4 release. We may or may not fix this bug for 2.0.4, though!
Comment 2 Ryan C. Gordon 2015-04-06 16:54:47 UTC
(In reply to Donny from comment #0)
> This still works for the original Raspberry Pi, however the new Raspberry Pi
> 2 toolchain is named armv7l-unknown-linux-gnueabihf, so the configure script
> fails to find the relevant files.

Hmm, it's a generic ARMv7 target now, but there are RPi-specific things we need to do in the configure script.  :/

--ryan.
Comment 3 Donny 2015-04-06 17:08:11 UTC
It's possible to work around it by setting a host flag to configure script...

e.g.
./configure --host=armv7l-raspberry-linux-gnueabihf

Related, but not relvant to bug...it also needs the flags --disable-video-x11 --disable-video-opengl for hardware acceleration
Comment 4 Ryan C. Gordon 2015-04-07 04:57:57 UTC
(sorry if you get a lot of copies of this email, I'm marking several bugs at once)

Marking bugs for the (mostly) final 2.0.4 TODO list. This means we're hoping to resolve this bug before 2.0.4 ships if possible. In a perfect world, the open bug count with the target-2.0.4 keyword is zero when we ship.

(Note that closing a bug report as WONTFIX, INVALID or WORKSFORME might still happen.)

--ryan.
Comment 5 Ryan C. Gordon 2015-04-11 01:48:04 UTC
I've got an RPi2 now, I'll be looking at this soon.

--ryan.
Comment 6 Ryan C. Gordon 2015-04-11 06:02:06 UTC
(In reply to Ryan C. Gordon from comment #5)
> I've got an RPi2 now, I'll be looking at this soon.

Fixed in https://hg.libsdl.org/SDL/rev/208ccaf7b64c

--ryan.