unable to get rid of -fpermissive

Fabrizio Pollastri f.pollastri@inrim.it
Fri Jul 13 15:04:00 GMT 2012


On 13/07/2012 14:36, Samuel Martin wrote:
> Hi Fabrizio,
>
> 2012/7/13 Fabrizio Pollastri<f.pollastri@inrim.it>:
>> Hi,
>>
>> I am unable to get rid of the "-fpermissive" problem. My configuration is
>> Debian wheezy, gcc 4.7.1, crosstool-ng 1.11.3 . gcc flags option was set as
>> follow
>>
>> CT_TARGET_CFLAGS="-fpermissive"
>>
> [...]

>> [ERROR] /home/software/.build/src/ppl-0.10.2/src/Interval.defs.hh:451:86:
>> error: 'f_info' was not declared in this scope, and no declarations were
>> found by argument-dependent lookup at the point of instantiation
>> [-fpermissive]
>> [ERROR]    make[4]: *** [Polyhedron_widenings.lo] Error 1
>> [ERROR]    make[3]: *** [all] Error 2
>> [ERROR]    make[2]: *** [all-recursive] Error 1
>> [ERROR]    make[1]: *** [all] Error 2
>> [ERROR]
>> [ERROR]>>   Build failed in step 'Installing PPL'
>> [ERROR]>>
>> [ERROR]>>   Error happened in: CT_DoExecLog[scripts/functions]
>> [ERROR]>>         called from:
>> do_ppl[scripts/build/companion_libs/ppl.sh@59]
>> [ERROR]>>         called from: main[scripts/crosstool-NG.sh@582]
>> [ERROR]>>
>> [ERROR]>>   For more info on this error, look at the file: 'build.log'
>> [ERROR]>>   There is a list of known issues, some with workarounds, in:
>> [ERROR]>>       '/usr/local/share/doc/ct-ng-1.11.3/B - Known issues.txt'
>> [ERROR]
>> [ERROR]    Build failed in step 'Installing PPL'
>> [ERROR]
>> [ERROR]    (elapsed: 5:48.74)
>> [05:49] / make: *** [build] Error 2
>>
>
> ppl is built using the host compiler, so -fpermissive should not be
> added to CT_TARGET_CFLAGS but CT_EXTRA_FLAGS_FOR_HOST
> (in menuconfig: Path and misc options>  Extra host compiler flags).

Thanks for you help, but I do not see "Extra host compiler flag" in 
"Path and misc options" and I do not find any CT_EXTRA_FLAGS_FOR_HOST 
into .config.

Fabrizio

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list