Bug 232226
Summary: | CXXFLAGS/CFLAGS questions | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Matthew Miller <mattdm> |
Component: | festival | Assignee: | Matthew Miller <mattdm> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | rstrode |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 1.96-0.11 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-03-20 19:02:04 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 232105 | ||
Bug Blocks: |
Description
Matthew Miller
2007-03-14 14:15:14 UTC
IIRC, festival wasn't building because of some way it was treating friend functions. I don't really remember the details. I think I just added compiler flags until it built because it was blocking a lot of other packages from getting built and we were nearing some release. Okay, thanks. :) I'm going to try and see what I can do with a less gigantic hammer. :) At least one of the build problems: EST_DProbDist.cc: In member function 'int EST_DiscreteProbDistribution::item_sta rt() const': EST_DProbDist.cc:313: error: cast from 'EST_UItem*' to 'int' loses precision EST_DProbDist.cc: In member function 'int EST_DiscreteProbDistribution::item_nex t(int) const': EST_DProbDist.cc:329: error: cast from 'EST_UItem*' to 'int' loses precision is a 64-bit cleanliness issue. Working on getting that fixed upstream. Okay, so I have a patch for the comment #3 issue, and everything seems to be working at this point with "$RPM_OPT_FLAGS -fPIC -fno-shared-data -fno-strict-aliasing" for speech_tools, and just $RPM_OPT_FLAGS for the main festival program. Turning off strict aliasing is necessary to get -O2 (or higher) to work. -fPIC is because I can't easily sort out the library objects from the rest without a lot of digging, and I'm not sure it's worth the trouble because -fPIC doesn't, as far as I know, cause any harm and may even be good. And -fno-shared-data because the upstream makefile references that for building the shared libs and it seemed good to play along. This is all in my latest version of the package -- see bug #232105. Cool. I'm just going to mark this a dupe of 232105, because we'll get the fixes when we switchover to your new and improved festival package. *** This bug has been marked as a duplicate of 232105 *** For my own keeping track of things, I'd rather do it as having these bugs blocked by that one, actually.... sure This issue should be resolved by the release of festival-1.96-0.11, now in the development tree. (See bug #232105 for details.) Please reopen if there's still a problem. Thanks. |