cmp UseSSE3, 0
/Developer/lazarus/components/bgrabitmap/bgrasse.pas(343,18) Error: Generating PIC, but reference is not PIC-safe
I've fixed this.
result[1] := color.r*oneOver65536;
16/05/12 09.40.29 [0x0-0x1d21d2].lazarus[59243] [TExternalToolList.Run] CmdLine="/Users/fbk/fpc/compiler/ppc386 -MObjFPC -Scgi -O3 -OoREGVAR -gs -gl -vewnhi -l -Fu/Developer/lazarus/lcl/units/i386-darwin/carbon -Fu/Developer/lazarus/lcl/units/i386-darwin -Fu/Developer/lazarus/components/lazutils/lib/i386-darwin -Fu/Developer/lazarus/packa16/05/12 09.40.29 [0x0-0x1d21d2].lazarus[59243] ger/units/i386-darwin -Fu/Developer/lazarus/components/bgrabitmap/ -FU/Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/ -dLCL -dLCLcarbon bgrabitmappack.pas" WorkDir="/Developer/lazarus/components/bgrabitmap/"16/05/12 09.40.29 [0x0-0x1d21d2].lazarus[59243] Hint: Start of reading config fi16/05/12 09.40.30 [0x0-0x1d21d2].lazarus[59243] le /etc/fpc.cfg16/05/12 09.40.30 [0x0-0x1d21d2].lazarus[59243] Hint: End of reading config file /etc/fpc.cfg16/05/12 09.40.30 [0x0-0x1d21d2].lazarus[59243] Free Pascal Compiler version 2.6.0 [2012/01/16] for i38616/05/12 09.40.30 [0x0-0x1d21d2].lazarus[59243] Copyright (c) 1993-2011 by Florian Klaempfl and others16/05/12 09.40.30 [0x0-0x1d21d2].lazarus[59243] Target OS: Darwin for i38616/05/12 09.40.30 [0x0-0x1d21d2].lazarus[59243] Compiling bgrabitmappac{standard input}:588:no instruction mnemonic suffix given and no register operands; can't size instruction16/05/12 09.40.30 [0x0-0x1d21d2].lazarus[59243] {standard input}:600:no instruction mnemonic suffix given and no register operands; can't size instruction16/05/12 09.40.30 [0x0-0x1d21d2].lazarus[59243] {standard input}:612:no instruction mnemonic suffix given and no register operands; can't size instruction16/05/12 09.40.30 [0x0-0x1d21d2].lazarus[59243] {standard input}:624:no instruction mnemonic suffix given and no register operands; can't size instruction16/05/12 09.40.30 [0x0-0x1d21d2].lazarus[59243] {standard input}:835:no instruction mnemonic suffix given and no register operands; can't size instruction16/05/12 09.40.30 [0x0-0x1d21d2].lazarus[59243] {standard input}:855:no instruction mnemonic suffix given and no register operands; can't size instruction16/05/12 09.40.30 [0x0-0x1d21d2].lazarus[59243] {standard input}:875:no instruction mnemonic suffix given and no register operands; can't size instruction16/05/12 09.40.30 [0x0-0x1d21d2].lazarus[59243] {standard input}:895:no instruction mnemonic suffix given and no register operands; can't size instruction16/05/12 09.40.30 [0x0-0x1d21d2].lazarus[59243] k.pas16/05/12 09.40.30 [0x0-0x1d21d2].lazarus[59243] Compiling bgrascene3d.pas16/05/12 09.40.30 [0x0-0x1d21d2].lazarus[59243] Compiling bgracolorint.pas16/05/12 09.40.30 [0x0-0x1d21d2].lazarus[59243] Assembling (pipe) /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgracolorint.s16/05/12 09.40.30 [0x0-0x1d21d2].lazarus[59243] bgracolorint.pas(55,23) Fatal: There were 1 e
Oh...What if you replace oneOver65536 by 0.0000152587890625 ?
result.r := round(colorF[1]*65536);
/Developer/lazarus/components/bgrabitmap/bgracolorint.pas(300) Fatal: There were 1 errors compiling module, stopping
17/05/12 10.20.47 [0x0-0x2e02e].lazarus[330] TPkgManager.DoCompilePackage A bgrabitmappack 5.17/05/12 10.20.47 [0x0-0x2e02e].lazarus[330] 7.1 Flags=[]17/05/12 10.20.47 [0x0-0x2e02e].lazarus[330] TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Missing state file for bgrabitmappack 5.7.1: /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgrabitmappack.compiled17/05/12 10.20.47 [0x0-0x2e02e].lazarus[330] [TExternalToolList.Run] CmdLine="/Users/fbk/fpc/compiler/ppc386 -B -MObjFPC -Scgi -O3 -OoREGVAR -gs -gl -vewnhi -l -Fu/Developer/lazarus/lcl/units/i386-darwin/carbon -Fu/Developer/lazarus/lcl/units/i386-darwin -Fu/Developer/lazarus/components/lazutils/lib/i386-darwin -Fu/Developer/lazarus/packager/units/i386-darwin17/05/12 10.20.48 [0x0-0x2e02e].lazarus[330] -Fu/Developer/lazarus/components/bgrabitmap/ -FU/Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/ -dLCL -dLCLcarbon bgrabitmappack.pas" WorkDir="/Developer/lazarus/components/bgrabitmap/"17/05/12 10.20.48 [0x0-0x2e02e].lazarus[330] Hint: Start of reading config file /etc/fpc.cfg17/05/12 10.20.48 [0x0-0x2e02e].lazarus[330] Hint: End of reading config file /etc/fpc.cfg17/05/12 10.20.48 [0x0-0x2e02e].lazarus[330] Free Pascal Compiler version 2.6.0 [2012/01/16] for i38617/05/12 10.20.48 [0x0-0x2e02e].lazarus[330] Copyright (c) 1993-2011 by Florian Klaempfl and others17/05/12 10.20.48 [0x0-0x2e02e].lazarus[330] Target OS: Darwin for i38617/05/12 10.20.48 [0x0-0x2e02e].lazarus[330] Compiling bgrabitmappack.pas17/05/12 10.20.48 [0x0-0x2e02e].lazarus[330] Compiling bgraanimatedgif.pas17/05/12 10.20.48 [0x0-0x2e02e].lazarus[330] Compiling bgrabit17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] map.pas17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Compiling bgradefaultbitmap.pas17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Compiling bgrabitmaptypes.pas17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Assembling (pipe) /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgrabitmaptypes.s17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Compiling bgracanvas.pas17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Compiling bgrapen.pas17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Compiling bgrapath.pas17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Compiling bgraresample.pas17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Assembling (pipe) /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgraresample.s17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Assembling (pipe) /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgrapath.s17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Assembling (pipe) /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgrapen.s17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Compiling bgrapolygon.pas17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Compiling bgrafillinfo.pas17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Assembling (pipe) /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgrafillinfo.s17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Compiling bgrablend.pas17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Assembling (pipe) /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgrablend.s17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Compiling bgragradientscanner.pas17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Compiling bgratransform.pas17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Assembling (pipe) /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgratransform.s17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Assembling (pipe) /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgragradientscanner.s17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Assembling (pipe) /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgrapolygon.s17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Compiling bgrapolygonaliased.pas17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Compiling bgrasse.pas17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Assembling (pipe) /Developer/lazarus/components/bgrabitma17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] p/lib/i386-darwin/2.6.0/bgrasse.s17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Assembling (pipe) /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgrapolygonaliased.s17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Assembling (pipe) /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgracanvas.s17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Compiling bgracanvas2d.pas17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Assembling (pipe) /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgracanvas2d.s17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Compiling bgrafilters.pas17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Assembling (pipe) /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgrafilters.s17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Compiling bgratext.pas17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] bgratext.pas(453,55) Hint: Function result variable does not seem to be initialized17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Assembling (pipe) /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgratext.s17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Compiling bgratextfx.pas17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Compiling bgraphongtypes.pas17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Assembling (pipe) /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgraphongtypes.s17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Assembling (pipe) /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgratextfx.s17/05/12 10.20.49 [0x0-0x2e02e].lazarus[330] Hint: Found abstract method: TFPCustomCanvas.DoCopyRect(<TFPCustomCanvas>,LongInt,LongInt,TFPCustomCanvas17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] ,const TRect);17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] Hint: Found abstract method: TFPCustomCanvas.DoDraw(<TFPCustomCanvas>,LongInt,LongInt,const TFPCustomImage);17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] Assembling (pipe) /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgradefaultbitmap.s17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] Assembling (pipe) /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgrabitmap.s17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] bgraanimatedgif.pas(79,28) Hint: Parameter "Stream" not used17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] Assembling (pipe) /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgraanimatedgif.s17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] Compiling bgracompressablebitmap.pas17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] Assembling (pipe) /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgracompressablebitmap.s17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] Compiling bgradnetdeserial.pas17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] bgradnetdeserial.pas(157,14) Warning: An inherited method is hidden by "TDotNetDeserialization.ToString:AnsiString;"17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] Assembling (pipe) /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgradnetdeserial.s17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] Compiling bgragradients.pas17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] Assembling (pipe) /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgragradients.s17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] Compiling bgrapaintnet.pas17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] Compiling bgralayers.pas17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] bgralayers.pas(31,14) Warning: An inherited method is hidden by "TBGRACustomLayeredBitmap.ToString:AnsiString;"17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] Assembling (pipe) /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgralayers.s17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] Assembling (pipe) /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgrapaintnet.s17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] Compiling bgrascene3d.pas17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] Compiling bgracolorint.pas17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] bgracolorint.pas(17,32) Hint: Parameter "colorF" not used17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] bgracolorint.pas(44,10) Warning: Function result does not seem to be set17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] bgracolorint.pas(53,7) Hint: Local const "oneOver65536" is not used17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] bgracolorint.pas(18,32) Hint: Parameter "color" not used17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] bgracolorint.pas(52,10) Warning: Function result does not seem to be set17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] Assembli{standard input}:522:no instruction mnemonic suffix given and no register operands; can't size instruction17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] {standard input}:534:no instruction mnemonic suffix given and no register operands; can't size instruction17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] {standard input}:546:no instruction mnemonic suffix given and no register operands; can't size instruction17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] {standard input}:558:no instruction mnemonic suffix given and no register operands; can't size instruction17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] {standard input}:769:no instruction mnemonic suffix given and no register operands; can't size instruction17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] {standard input}:789:no instruction mnemonic suffix given and no register operands; can't size instruction17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] {standard input}:809:no instruction mnemonic suffix given and no register operands; can't size instruction17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] {standard input}:829:no instruction mnemonic suffix given and no registe17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] r operands; can't size instruction17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] ng (pipe) /Developer/lazarus/components/bgrabitmap/lib/i386-darwin/2.6.0/bgracolorint.s17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] bgracolorint.pas(300) Fatal: There were 1 errors compiling module, stopping17/05/12 10.20.50 [0x0-0x2e02e].lazarus[330] TExternalToolList.Run Exception: /Developer/lazarus/compo17/05/12 10.21.45 [0x0-0x2e02e].lazarus[330] nents/bgrabitmap/bgracolorint.pas(300) Fatal: There were 1 errors compiling module, stopping
I decided to try it out today. 5.7.1 and 5.7 both had the same issue mentioned above and I couldn't get anything earlier than that to download from sourceforge.