[Kmymoney-devel] OSX/CI system: KF5-kmymoney build broken on branch frameworks

Thomas Baumgart thb at net-bembel.de
Tue Jul 22 11:06:11 UTC 2014


Hi,

On Tuesday 22 July 2014 07:19:38 Marko Käning wrote:

> Hi Cristian,
> 
> now that kdepimlibs can be removed as a necessary dependency I end up in a
> problem with KDChart: ---
> [ 12%] [ 12%] [ 12%] [ 12%] [ 12%] [ 12%] [ 12%] Building CXX object
> libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractCartesianDiagram.c
> pp.o Building CXX object
> libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAreaBase.cpp.o
> Building CXX object
> libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractArea.cpp.o
> Building CXX object
> libkdchart/src/CMakeFiles/kmm_kdchart.dir/ChartGraphicsItem.cpp.o Building
> CXX object
> libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAxis.cpp.o
> Building CXX object
> libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAreaWidget.cpp.o
> Building CXX object
> libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractCoordinatePlane.cp
> p.o clang: error: unknown argument: '-fno-reorder-blocks'
> [-Wunused-command-line-argument-hard-error-in-future] clang: note: this
> will be a hard error (cannot be downgraded to a warning) in the future
> make[2]: ***
> [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractCartesianDiagram.
> cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs....
> clang: error: unknown argument: '-fno-reorder-blocks'
> [-Wunused-command-line-argument-hard-error-in-future] clang: note: this
> will be a hard error (cannot be downgraded to a warning) in the future
> make[2]: ***
> [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAreaBase.cpp.o]
> Error 1 clang: error: unknown argument: '-fno-reorder-blocks'
> [-Wunused-command-line-argument-hard-error-in-future] clang: note: this
> will be a hard error (cannot be downgraded to a warning) in the future
> clang: error: unknown argument: '-fno-reorder-blocks'
> [-Wunused-command-line-argument-hard-error-in-future] clang: note: this
> will be a hard error (cannot be downgraded to a warning) in the future
> make[2]: ***
> [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAxis.cpp.o] Error
> 1 make[2]: ***
> [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractArea.cpp.o] Error
> 1 clang: error: unknown argument: '-fno-reorder-blocks'
> [-Wunused-command-line-argument-hard-error-in-future] clang: note: this
> will be a hard error (cannot be downgraded to a warning) in the future
> make[2]: ***
> [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAreaWidget.cpp.o]
> Error 1 clang: error: unknown argument: '-fno-reorder-blocks'
> [-Wunused-command-line-argument-hard-error-in-future] clang: note: this
> will be a hard error (cannot be downgraded to a warning) in the future
> make[2]: ***
> [libkdchart/src/CMakeFiles/kmm_kdchart.dir/ChartGraphicsItem.cpp.o] Error 1
> clang: error: unknown argument: '-fno-reorder-blocks'
> [-Wunused-command-line-argument-hard-error-in-future] clang: note: this
> will be a hard error (cannot be downgraded to a warning) in the future
> make[2]: ***
> [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractCoordinatePlane.c
> pp.o] Error 1 make[1]: *** [libkdchart/src/CMakeFiles/kmm_kdchart.dir/all]
> Error 2 make: *** [all] Error 2
> ---
> 
> Any idea what can be done about this?

As Cristian  pointed out: remove the option. It is on by default in O2 and O3.

From https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html

-freorder-blocks
    Reorder basic blocks in the compiled function in order to reduce number of 
taken branches and improve code locality.

    Enabled at levels -O2, -O3.

-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
'Either toss the Windows out of your computer,
 or toss your computer out the window!' -- Richard Stallman
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 225 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20140722/34943db6/attachment-0001.sig>


More information about the KMyMoney-devel mailing list