This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

unable to get rid of -fpermissive


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"

The flag seems to be ignored with the following result

ct-ng build
[INFO ] Performing some trivial sanity checks
[INFO ] Build started 20120713.114058
[INFO ] Building environment variables
[INFO ] =================================================================
[INFO ] Retrieving needed toolchain components' tarballs
[INFO ] Retrieving needed toolchain components' tarballs: done in 120.17s (at 02:01)
[INFO ] =================================================================
[INFO ] Extracting and patching toolchain components
[INFO ] Extracting and patching toolchain components: done in 45.05s (at 02:47)
[INFO ] =================================================================
[INFO ] Installing GMP
[INFO ] Installing GMP: done in 96.24s (at 04:23)
[INFO ] =================================================================
[INFO ] Installing MPFR
[INFO ] Installing MPFR: done in 23.81s (at 04:47)
[INFO ] =================================================================
[INFO ] Installing PPL
[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] /home/software/.build/src/ppl-0.10.2/src/Interval.defs.hh:390: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] /home/software/.build/src/ppl-0.10.2/src/Interval.defs.hh:432:5: 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] /home/software/.build/src/ppl-0.10.2/src/Interval.defs.hh:492:5: 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] /home/software/.build/src/ppl-0.10.2/src/Interval.defs.hh:390: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] /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



Thank you in advance for any help.


Cheers,
Fabrizio

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]