Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1429343
Summary: | recursion error on ppc64 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dmitrij S. Kryzhevich <kryzhev> |
Component: | imake | Assignee: | Adam Jackson <ajax> |
Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | ajax, mtasaka, negativo17, yselkowi |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-03-23 02:15:50 UTC | Type: | Bug |
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: | |||
Bug Blocks: | 1424242 |
Description
Dmitrij S. Kryzhevich
2017-03-06 07:29:50 UTC
This is related to: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/PANPXK43S24TMUGLZ667NPAGNTZKMC6L/ So the keyword "vector" or so is somewhat special with GCC on ppc64{,le}. Usually you have to use "gcc -std=gnu11" or so or explicitly use "#undef vector" when this issue occurs on ppc64. Unfortunately, for this case, xmkmf -> imake calls "cpp" internally with some option, so you have to modify either compiler flags being passed to cpp, or change _some_ code (perhaps template file used by imake) to explicitly undef vector... but imake internal looks a bit complicated. For now the following seems to work: @@ -102,7 +102,8 @@ pushd src # GTK version ./rasmol_build_options.sh --pixeldepth=32 --use_gtk -xmkmf +#xmkmf +imake -DUseInstalled -Uvector -I%{_datadir}/X11/config # mistake in sources packaging unlink rasmol.man @@ -115,7 +116,8 @@ make distclean # Xlib version ./rasmol_build_options.sh --pixeldepth=32 --use_xformslib -xmkmf +#xmkmf +imake -DUseInstalled -Uvector -I%{_datadir}/X11/config make %{?_smp_mflags} CCOPTIONS="%{optflags}" EXTRA_LIBRARIES="%__global_ldflags" popd ``` https://koji.fedoraproject.org/koji/taskinfo?taskID=18524225 Looks like imake_defines= in xmkmf would be a good place for -Uvector. (In reply to Mamoru TASAKA from comment #1) > For now the following seems to work: Thanks. Didn't guess to look into xmkmf. (In reply to Yaakov Selkowitz from comment #2) > Looks like imake_defines= in xmkmf would be a good place for -Uvector. No way to place it there. Only '-D' args parse and they placed as is, with '-D'. Option named "-DUvector" is not what I need here. Anyway, this script do nothing but generate command posted in #1. I believe I could run it manually as suggested. Thanks for help! |