The FreeType Project - Bugs: bug #32114, cflags missing in makefile
You are not allowed to post comments on this tracker with your current authentication level.
bug #32114: cflags missing in makefile
Submitter: | None | ||
Submitted: | Wed 12 Jan 2011 06:24:59 PM UTC | ||
Severity: | 3 - Normal | Item Group: | None |
Status: | Fixed | Privacy: | Public |
Assigned to: | mpsuzuki | Open/Closed: | Closed |
Planned Release: | 2.4.5 |
Jump to the original submission
Sat 15 Jan 2011 04:58:29 AM UTC, comment #8: |
suzuki toshiya <mpsuzuki> |
Fri 14 Jan 2011 03:25:51 AM UTC, comment #7: Looks like I was typing my comment right when you pasted yours, so I didn't see your last one.
|
Anonymous |
Fri 14 Jan 2011 03:21:04 AM UTC, comment #6: That worked - passing the march in the LDFLAGS during configure.
|
Anonymous |
Fri 14 Jan 2011 03:19:48 AM UTC, comment #5: OK, I understand there is a limitation of developer
|
suzuki toshiya <mpsuzuki> |
Thu 13 Jan 2011 09:20:40 PM UTC, comment #4: Well, since I'm using BuildRoot (http://buildroot.uclibc.org/), I'm at the mercy of how they do things. Currently, -march is only passed in the CFLAGS. BuildRoot does let you customize things, so I may be able to pass it in LDFLAGS as well, but right now it's not in there.
|
Anonymous |
Thu 13 Jan 2011 05:44:11 PM UTC, comment #3: Sorry for lated response. Could you tell me your preferred
|
suzuki toshiya <mpsuzuki> |
Wed 12 Jan 2011 09:40:54 PM UTC, comment #2: The actual problem is that since no architecture flag is passed into libtool during linking (further down on line 109 in the same file), the CodeSourcery multilib toolchain I'm using reverts to the default architecture - which is armv5te. That builds instructions that don't exist on armv4t, so I get illegal instruction errors.
|
Anonymous |
Wed 12 Jan 2011 06:47:14 PM UTC, comment #1: This fix is wrong, I believe. AFAIK, it should work directly from the command line. I've assigned your report to Toshiya-san since he has taken care of cross compiling in the past. |
Werner LEMBERG <wl> |
Wed 12 Jan 2011 06:24:59 PM UTC, original submission:
Hello. I have built freetype from source as part of my BuildRoot setup. I am targeting an embedded system with an armv4t based processor. I use a toolchain from CodeSourcery, which is a multi-lib toolchain that targets various architectures. It's important to pass the -march=armv4t on the cflags to all instances of CC for the target processor so the toolchain picks the right library.
|
Anonymous |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2011-01-15 | wl | Planned Release | None | 2.4.5 | |
2011-01-15 | mpsuzuki | Status | None | Fixed | |
Open/Closed | Open | Closed | |||
2011-01-12 | wl | Assigned to | None | mpsuzuki |
Powered by Savane 3.13-f8d8.
Corresponding source code
Thank you for the proposal to BuildRoot project.
I wish BuildRoot will be improved to accept
you patch to specify CFLAGS & LDFLAGS separately.
Also I've improved configure script for latest
GIT revision, to copy -march=XXX and -mcpu=XXX
options to LDFLAGS automatically if they are
included in CFLAGS but not in LDFLAGS.
If BuildRoot refuses your patch, or there are users
sticking to legacy BuildRoot before your patch,
newer revision of FreeType2 will help.
Here I close this bug, thank you very much!