Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-04

lazbuild 2x quiet

10 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner

Hi,

I extended lazbuild. When you pass -q or --quiet two times lazbuild now passes -vw-n-h-i-l-d-u-t-p-c-x- to the compiler.

Mattias

Reply by email

FreeMan
to Mattias Gaertner
Mattias Gaertner wrote 6 lines
Hi, I extended lazbuild. When you pass -q or --quiet two times lazbuild now passes -vw-n-h-i-l-d-u-t-p-c-x- to the compiler. Mattias

Thank you, but in terminal I get this error.
fpc r30539 lazarus r48719 yosemite x64 qt

SetPrimaryConfigPath NewValue="/Users/freeman35/.lazarus" -> "/Users/freeman35/.lazarus"
An unhandled exception occurred at $000000010017D994: EAccessViolation: Access violation
$000000010017D994
$00000001001E451A
$000000010000553B
$0000000100002649
$00000001000074A8

Reply by email

FreeMan
to FreeMan

from IDE "Configure "Build lazarus"..."
I get this error.
lcl.pas(10,3) Fatal: Cannot find AllLCLIntfUnits used by LCL. Check search path of package LCL, try a clean rebuild, check implementation uses sections..

FreeMan wrote 26 lines
On 10.04.2015 22:58, Mattias Gaertner wrote: > Hi, > > I extended lazbuild. When you pass -q or --quiet two times lazbuild now > passes -vw-n-h-i-l-d-u-t-p-c-x- to the compiler. > > Mattias Thank you, but in terminal I get this error. fpc r30539 lazarus r48719 yosemite x64 qt SetPrimaryConfigPath NewValue="/Users/freeman35/.lazarus" -> "/Users/freeman35/.lazarus" An unhandled exception occurred at $000000010017D994: EAccessViolation: Access violation $000000010017D994 $00000001001E451A $000000010000553B $0000000100002649 $00000001000074A8 -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

FreeMan
to FreeMan
FreeMan wrote 12 lines
Thank you, but in terminal I get this error. fpc r30539 lazarus r48719 yosemite x64 qt SetPrimaryConfigPath NewValue="/Users/freeman35/.lazarus" -> "/Users/freeman35/.lazarus" An unhandled exception occurred at $000000010017D994: EAccessViolation: Access violation $000000010017D994 $00000001001E451A $000000010000553B $0000000100002649 $00000001000074A8

I added gdb trace log.

(gdb) run --pcp=/Users/freeman35/.lazarus --build-all --quiet --skip-dependencies --build-ide= --ws=qt --cpu=x86_64 --compiler=ppcx64 Starting program: /opt/lazarus/lazbuild --pcp=/Users/freeman35/.lazarus --build-all --quiet --skip-dependencies --build-ide= --ws=qt --cpu=x86_64 --compiler=ppcx64
warning: Could not open OSO archive file
"/BinaryCache/corecrypto/corecrypto-233.1.2~26/Symbols/BuiltProducts/libcorecrypto_static.a" warning:
`/BinaryCache/coreTLS/coreTLS-35.20.2~10/Objects/coretls.build/coretls.build/Objects-normal/x86_64/system_coretls_vers.o': can't open to read symbols: No such file or directory. warning: Could not open OSO archive file
"/BinaryCache/coreTLS/coreTLS-35.20.2~10/Symbols/BuiltProducts/libcoretls_ciphersuites.a" warning: Could not open OSO archive file
"/BinaryCache/coreTLS/coreTLS-35.20.2~10/Symbols/BuiltProducts/libcoretls_handshake.a" warning: Could not open OSO archive file
"/BinaryCache/coreTLS/coreTLS-35.20.2~10/Symbols/BuiltProducts/libcoretls_record.a" warning: Could not open OSO archive file
"/BinaryCache/coreTLS/coreTLS-35.20.2~10/Symbols/BuiltProducts/libcoretls_stream_parser.a" warning:
`/BinaryCache/cmph/cmph-1~1091/Objects/cmph.build/cmph.build/Objects-normal/x86_64/bdz.o': can't open to read symbols: No such file or directory. warning:
`/BinaryCache/cmph/cmph-1~1091/Objects/cmph.build/cmph.build/Objects-normal/x86_64/bdz_ph.o': can't open to read symbols: No such file or directory. warning:
`/BinaryCache/cmph/cmph-1~1091/Objects/cmph.build/cmph.build/Objects-normal/x86_64/bmz.o': can't open to read symbols: No such file or directory. warning:
`/BinaryCache/cmph/cmph-1~1091/Objects/cmph.build/cmph.build/Objects-normal/x86_64/bmz8.o': can't open to read symbols: No such file or directory. warning:
`/BinaryCache/cmph/cmph-1~1091/Objects/cmph.build/cmph.build/Objects-normal/x86_64/brz.o': can't open to read symbols: No such file or directory. warning:
`/BinaryCache/cmph/cmph-1~1091/Objects/cmph.build/cmph.build/Objects-normal/x86_64/buffer_entry.o': can't open to read symbols: No such file or directory. warning:
`/BinaryCache/cmph/cmph-1~1091/Objects/cmph.build/cmph.build/Objects-normal/x86_64/buffer_manager.o': can't open to read symbols: No such file or directory. warning:
`/BinaryCache/cmph/cmph-1~1091/Objects/cmph.build/cmph.build/Objects-normal/x86_64/chd.o': can't open to read symbols: No such file or directory. warning:
`/BinaryCache/cmph/cmph-1~1091/Objects/cmph.build/cmph.build/Objects-normal/x86_64/chd_ph.o': can't open to read symbols: No such file or directory. warning:
`/BinaryCache/cmph/cmph-1~1091/Objects/cmph.build/cmph.build/Objects-normal/x86_64/chm.o': can't open to read symbols: No such file or directory. warning:
`/BinaryCache/cmph/cmph-1~1091/Objects/cmph.build/cmph.build/Objects-normal/x86_64/cmph.o': can't open to read symbols: No such file or directory. warning:
`/BinaryCache/cmph/cmph-1~1091/Objects/cmph.build/cmph.build/Objects-normal/x86_64/cmph_structs.o': can't open to read symbols: No such file or directory. warning:
`/BinaryCache/cmph/cmph-1~1091/Objects/cmph.build/cmph.build/Objects-normal/x86_64/compressed_rank.o': can't open to read symbols: No such file or directory. warning:
`/BinaryCache/cmph/cmph-1~1091/Objects/cmph.build/cmph.build/Objects-normal/x86_64/compressed_seq.o': can't open to read symbols: No such file or directory. warning:
`/BinaryCache/cmph/cmph-1~1091/Objects/cmph.build/cmph.build/Objects-normal/x86_64/fch.o': can't open to read symbols: No such file or directory. warning:
`/BinaryCache/cmph/cmph-1~1091/Objects/cmph.build/cmph.build/Objects-normal/x86_64/fch_buckets.o': can't open to read symbols: No such file or directory. warning:
`/BinaryCache/cmph/cmph-1~1091/Objects/cmph.build/cmph.build/Objects-normal/x86_64/graph.o': can't open to read symbols: No such file or directory. warning:
`/BinaryCache/cmph/cmph-1~1091/Objects/cmph.build/cmph.build/Objects-normal/x86_64/hash.o': can't open to read symbols: No such file or directory. warning:
`/BinaryCache/cmph/cmph-1~1091/Objects/cmph.build/cmph.build/Objects-normal/x86_64/jenkins_hash.o': can't open to read symbols: No such file or directory. warning:
`/BinaryCache/cmph/cmph-1~1091/Objects/cmph.build/cmph.build/Objects-normal/x86_64/linear_string_map.o': can't open to read symbols: No such file or directory. warning:
`/BinaryCache/cmph/cmph-1~1091/Objects/cmph.build/cmph.build/Objects-normal/x86_64/miller_rabin.o': can't open to read symbols: No such file or directory. warning:
`/BinaryCache/cmph/cmph-1~1091/Objects/cmph.build/cmph.build/Objects-normal/x86_64/select.o': can't open to read symbols: No such file or directory. warning:
`/BinaryCache/cmph/cmph-1~1091/Objects/cmph.build/cmph.build/Objects-normal/x86_64/vqueue.o': can't open to read symbols: No such file or directory. warning:
`/BinaryCache/cmph/cmph-1~1091/Objects/cmph.build/cmph.build/Objects-normal/x86_64/vstack.o': can't open to read symbols: No such file or directory. SetPrimaryConfigPath NewValue="/Users/freeman35/.lazarus" -> "/Users/freeman35/.lazarus"
[New Thread 0x1117 of process 37383]
[New Thread 0x1303 of process 37383]
[New Thread 0x1403 of process 37383]
[New Thread 0x1503 of process 37383]

Program received signal SIGSEGV, Segmentation fault. 0x000000010017d994 in CREATE (this=0x101900330, vmt=0x1) at environmentopts.pp:982
982 fExternalUserTools:=ExternalUserToolsClass.Create;

Reply by email

Mattias Gaertner
to FreeMan
Show quoted text 5 lines
[...] Program received signal SIGSEGV, Segmentation fault. 0x000000010017d994 in CREATE (this=0x101900330, vmt=0x1) at environmentopts.pp:982 982 fExternalUserTools:=ExternalUserToolsClass.Create;

My fault. Sorry. Fixed.

Mattias

Reply by email

Michael Van Canneyt
to Mattias Gaertner
Mattias Gaertner wrote 10 lines
On Sat, 11 Apr 2015 12:45:44 +0300 FreeMan wrote: > [...] > Program received signal SIGSEGV, Segmentation fault. > 0x000000010017d994 in CREATE (this=0x101900330, vmt=0x1) at > environmentopts.pp:982 > 982 fExternalUserTools:=ExternalUserToolsClass.Create; My fault. Sorry. Fixed.

Ah, God makes mistakes as well... I long suspected this ;)

Michael.

Reply by email

coppolastudio

+1

Michael Van Canneyt ha scritto:

Show quoted text 24 lines
On Sat, 11 Apr 2015, Mattias Gaertner wrote: > On Sat, 11 Apr 2015 12:45:44 +0300 > FreeMan wrote: > >> [...] >> Program received signal SIGSEGV, Segmentation fault. >> 0x000000010017d994 in CREATE (this=0x101900330, vmt=0x1) at >> environmentopts.pp:982 >> 982 fExternalUserTools:=ExternalUserToolsClass.Create; > > My fault. Sorry. Fixed. Ah, God makes mistakes as well... I long suspected this ;) Michael. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

FreeMan
to Mattias Gaertner: On Sat, 11 Apr 2015 12:45:44 +0300 My fault. Sorry. Fixed. Mattias

Thank you, lazarus r48722 fixed

about subject:
this is my make lazarus commandline
make --quiet clean all PREFIX=/opt/lazarus/ CPU_TARGET=x86_64 OS_TARGET=darwin LCL_PLATFORM=qt OPT=-k'-framework' -k'ApplicationServices' -dUSE_QT_45 -dQT_NATIVE_DIALOGS -g -gl -vn-h-i-w more hints and warnings hide but not all

This is my lazbuild commandline, and it not quit for me. I mean I saw warnings and some hints. And not changed for me. just less hints. "-g -gl -vn-h-i-w" this params added in "Stored in IDE" too. lazbuild --quiet --max-process-count=8 --pcp=/Users/freeman35/.lazarus --build-all --skip-dependencies --build-ide= --ws=qt --cpu=x86_64 --compiler=ppcx64

Mattias Gaertner wrote 18 lines
On Sat, 11 Apr 2015 12:45:44 +0300 FreeMan wrote: > [...] > Program received signal SIGSEGV, Segmentation fault. > 0x000000010017d994 in CREATE (this=0x101900330, vmt=0x1) at > environmentopts.pp:982 > 982 fExternalUserTools:=ExternalUserToolsClass.Create; My fault. Sorry. Fixed. Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Mattias Gaertner
to FreeMan
Show quoted text 7 lines
[...] This is my lazbuild commandline, and it not quit for me. I mean I saw warnings and some hints. And not changed for me. just less hints. "-g -gl -vn-h-i-w" this params added in "Stored in IDE" too. lazbuild --quiet --max-process-count=8 --pcp=/Users/freeman35/.lazarus --build-all --skip-dependencies --build-ide= --ws=qt --cpu=x86_64 --compiler=ppcx64

./lazbuild --quiet --quiet ...

Note: Linker warnings cannot be hidden -vw-.
And code can enable warnings via directives.

Mattias

Reply by email

FreeMan
to Mattias Gaertner
Mattias Gaertner wrote 6 lines
./lazbuild --quiet --quiet ... Note: Linker warnings cannot be hidden -vw-. And code can enable warnings via directives. Mattias

are you mean "./lazbuild --quiet --quiet ..." write "--quiet" twice ?

I'm not talk about linker warnings

SetPrimaryConfigPath NewValue="/Users/freeman35/.lazarus" -> "/Users/freeman35/.lazarus"
RunTool /bin/ppcx64 "-iWTOTP" "-Px86_64"
RunTool /bin/ppcx64 "-va" "-Px86_64" "compilertest.pas" RunTool /bin/ppcx64 "-iWTOTP" "-Px86_64" "-Tdarwin" "-Fr/opt/lazarus/components/codetools/fpc.errore.msg" RunTool /bin/ppcx64 "-va" "-Px86_64" "-Tdarwin"
"-Fr/opt/lazarus/components/codetools/fpc.errore.msg" "compilertest.pas" RunTool /bin/ppcx64 "-iWTOTP"
"-Fr/opt/lazarus/components/codetools/fpc.errore.msg" RunTool /bin/ppcx64 "-va"
"-Fr/opt/lazarus/components/codetools/fpc.errore.msg" "compilertest.pas" make: Entering directory `/opt/lazarus'
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ide cleanide make[1]: Entering directory `/opt/lazarus/ide'
/bin/rm -f
............................................
some hints result:
/opt/lazarus/components/lazutils/ttinterp.pas(4413,25) Warning: (6018) unreachable code
/opt/lazarus/components/lazutils/lazloggerdummy.pas(192,31) Hint: (5024) Parameter "ALogger" not used
/opt/lazarus/components/lazutils/lazloggerdummy.pas(188,37) Hint: (5024) Parameter "ALogGroups" not used
/opt/lazarus/components/lazutils/lazloggerdummy.pas(84,27) Hint: (5024) Parameter "Src" not used
/opt/lazarus/components/lazutils/lazloggerdummy.pas(92,43) Hint: (5024) Parameter "AConfigName" not used
/opt/lazarus/components/lazutils/lazloggerdummy.pas(92,69) Hint: (5024) Parameter "ADefaulEnabled" not used
/opt/lazarus/components/lazutils/lazloggerdummy.pas(93,43) Hint: (5024) Parameter "AConfigName" not used

some warnings:
Free Pascal Compiler version 3.1.1 [2015/04/11] for x86_64 Copyright (c) 1993-2015 by Florian Klaempfl and others /opt/lazarus/lcl/./include/lclintf.inc(327,49) Warning: (5043) Symbol "IntfSendsUTF8KeyPress" is deprecated
/opt/lazarus/lcl/./include/font.inc(1228,22) Warning: (5043) Symbol "FontCanUTF8" is deprecated
/opt/lazarus/lcl/dialogs.pp(641,10) Warning: (6018) unreachable code /opt/lazarus/lcl/dbctrls.pp(1417,56) Warning: (5043) Symbol "Lookup" is deprecated
/opt/lazarus/lcl/dbgrids.pas(1221,20) Warning: (5043) Symbol "Lookup" is deprecated
/opt/lazarus/lcl/dbgrids.pas(3158,54) Warning: (5043) Symbol "Lookup" is deprecated
/opt/lazarus/lcl/dbgrids.pas(3179,28) Warning: (5043) Symbol "Lookup" is deprecated
/opt/lazarus/lcl/dbgrids.pas(3886,30) Warning: (5043) Symbol "Lookup" is deprecated

Reply by email