|
|
Home » Community » U++ community news and announcements » 2020.1 officially released
|
|
|
|
|
|
|
Re: 2020.1 officially released [message #53926 is a reply to message #53893] |
Fri, 15 May 2020 16:17   |
Novo
Messages: 1388 Registered: December 2006
|
Ultimate Contributor |
|
|
Thanks for the new release.
It seems to have a couple of issues with Mac.
It is impossible to compile umk using makefile via "make -f uMakefile".
ld: warning: option -s is obsolete and being ignored
ld: unknown option: -O
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Even if you have a prebuilt version of umk, an attempt to build ide via "umk uppsrc ide CLANG +brus" leads to
ld: warning: directory not found for option '-L/opt/local/lib'
ld: library not found for -lcrt0.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Interestingly, CLANG.bm, automatically created by umk, contains options below.
INCLUDE = "/opt/local/include;/usr/include";
LIB = "/opt/local/lib;/usr/lib";
Although they are not needed.
Regards,
Novo
|
|
|
|
Re: 2020.1 officially released [message #53940 is a reply to message #53938] |
Sat, 16 May 2020 13:32   |
Novo
Messages: 1388 Registered: December 2006
|
Ultimate Contributor |
|
|
mirek wrote on Sat, 16 May 2020 03:33Are you trying with upp-posix.tar.xz?
All this is based on src from git.
Basically, "git clone" and "make -f uMakefile".
Regards,
Novo
|
|
|
|
|
Re: 2020.1 officially released [message #54072 is a reply to message #53942] |
Sat, 30 May 2020 06:31   |
Novo
Messages: 1388 Registered: December 2006
|
Ultimate Contributor |
|
|
Another interesting observation, this time about timing with Clang on Windows.
----- GLDrawDemo ( GUI MAIN CLANG SHARED BLITZ WIN32 ) (14 / 14)
main.cpp
plugin/tess2: 8 file(s) built in (0:00.90), 113 msecs / file
GLCtrl: 3 file(s) built in (0:00.58), 194 msecs / file
GLDrawDemo: 1 file(s) built in (0:00.79), 794 msecs / file
GLDraw: 20 file(s) built in (0:01.22), 61 msecs / file
plugin/glew: 1 file(s) built in (1:19.54), 79540 msecs / file <--- !!!
----- ScatterDraw_Demo ( MAIN CLANG DEBUG SHARED DEBUG_FULL BLITZ WIN32 ) (8 / 8)
ScatterDraw_Demo.cpp
ScatterDraw_Demo: 1 file(s) built in (0:02.22), 2225 msecs / file
ScatterDraw: 8 file(s) built in (1:03.92), 7991 msecs / file <--- !!!
Actually, I was using wine on Linux.
Regards,
Novo
|
|
|
Re: 2020.1 officially released [message #54073 is a reply to message #54072] |
Sat, 30 May 2020 07:13   |
Novo
Messages: 1388 Registered: December 2006
|
Ultimate Contributor |
|
|
Interesting message when compiling on Windows with CLANGx64:
#0 0x0000000142abaa9c (clang-10+0x2abaa9c)
#1 0x0000000142a52a8c (clang-10+0x2a52a8c)
#2 0x0000000142a6b016 (clang-10+0x2a6b016)
#3 0x0000000142a60146 (clang-10+0x2a60146)
clang-10: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 10.0.0 (https://github.com/llvm/llvm-project.git d32170dbd5b0d54436537b6b75beaf44324e0c28)
Target: x86_64-w64-windows-gnu
Thread model: posix
InstalledDir: c:\local\apps\upp\bin\clang\bin
clang-10: note: diagnostic msg: PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
heapdbg.cpp
CharSet.cpp
t.cpp
z.cpp
lz4.c
xxhash.c
clang-10: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-10: note: diagnostic msg: C:\users\ssg\Temp\wkparser$blitz-44ef80.cpp
clang-10: note: diagnostic msg: C:\users\ssg\Temp\wkparser$blitz-44ef80.sh
clang-10: note: diagnostic msg:
********************
plugin/bz2: 2 file(s) built in (0:00.37), 186 msecs / file
plugin/bmp: 4 file(s) built in (0:00.30), 76 msecs / file
dvlp/ctrl/about: 1 file(s) built in (0:00.33), 332 msecs / file
Painter: 28 file(s) built in (0:01.72), 61 msecs / file
dvlp/wiki/wkparser: 6 file(s) built in (0:00.47), 79 msecs / file
Draw: 35 file(s) built in (0:00.47), 13 msecs / file
RichText: 22 file(s) built in (0:00.50), 23 msecs / file
CtrlCore: 62 file(s) built in (0:00.87), 14 msecs / file
CtrlLib: 58 file(s) built in (0:02.91), 50 msecs / file
Core: 68 file(s) built in (0:05.87), 86 msecs / file
There were errors. (0:17.72)
program finished with exit code 1
elapsedTime=18.027474
And this is primarily C++98 code with a lot of templates.
I mean my own app.
Regards,
Novo
[Updated on: Sat, 30 May 2020 07:19] Report message to a moderator
|
|
|
Re: 2020.1 officially released [message #54074 is a reply to message #54072] |
Sat, 30 May 2020 08:55   |
 |
mirek
Messages: 14206 Registered: November 2005
|
Ultimate Member |
|
|
Novo wrote on Sat, 30 May 2020 06:31Another interesting observation, this time about timing with Clang on Windows.
----- GLDrawDemo ( GUI MAIN CLANG SHARED BLITZ WIN32 ) (14 / 14)
main.cpp
plugin/tess2: 8 file(s) built in (0:00.90), 113 msecs / file
GLCtrl: 3 file(s) built in (0:00.58), 194 msecs / file
GLDrawDemo: 1 file(s) built in (0:00.79), 794 msecs / file
GLDraw: 20 file(s) built in (0:01.22), 61 msecs / file
plugin/glew: 1 file(s) built in (1:19.54), 79540 msecs / file <--- !!!
----- ScatterDraw_Demo ( MAIN CLANG DEBUG SHARED DEBUG_FULL BLITZ WIN32 ) (8 / 8)
ScatterDraw_Demo.cpp
ScatterDraw_Demo: 1 file(s) built in (0:02.22), 2225 msecs / file
ScatterDraw: 8 file(s) built in (1:03.92), 7991 msecs / file <--- !!!
Actually, I was using wine on Linux.
Those numbers are real? I mean, is it a problem with clang, or problem with builder printing wrong number?
Mirek
|
|
|
Re: 2020.1 officially released [message #54075 is a reply to message #54073] |
Sat, 30 May 2020 08:57   |
 |
mirek
Messages: 14206 Registered: November 2005
|
Ultimate Member |
|
|
Novo wrote on Sat, 30 May 2020 07:13Interesting message when compiling on Windows with CLANGx64:
#0 0x0000000142abaa9c (clang-10+0x2abaa9c)
#1 0x0000000142a52a8c (clang-10+0x2a52a8c)
#2 0x0000000142a6b016 (clang-10+0x2a6b016)
#3 0x0000000142a60146 (clang-10+0x2a60146)
clang-10: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 10.0.0 (https://github.com/llvm/llvm-project.git d32170dbd5b0d54436537b6b75beaf44324e0c28)
Target: x86_64-w64-windows-gnu
Thread model: posix
InstalledDir: c:\local\apps\upp\bin\clang\bin
clang-10: note: diagnostic msg: PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
heapdbg.cpp
CharSet.cpp
t.cpp
z.cpp
lz4.c
xxhash.c
clang-10: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-10: note: diagnostic msg: C:\users\ssg\Temp\wkparser$blitz-44ef80.cpp
clang-10: note: diagnostic msg: C:\users\ssg\Temp\wkparser$blitz-44ef80.sh
clang-10: note: diagnostic msg:
********************
plugin/bz2: 2 file(s) built in (0:00.37), 186 msecs / file
plugin/bmp: 4 file(s) built in (0:00.30), 76 msecs / file
dvlp/ctrl/about: 1 file(s) built in (0:00.33), 332 msecs / file
Painter: 28 file(s) built in (0:01.72), 61 msecs / file
dvlp/wiki/wkparser: 6 file(s) built in (0:00.47), 79 msecs / file
Draw: 35 file(s) built in (0:00.47), 13 msecs / file
RichText: 22 file(s) built in (0:00.50), 23 msecs / file
CtrlCore: 62 file(s) built in (0:00.87), 14 msecs / file
CtrlLib: 58 file(s) built in (0:02.91), 50 msecs / file
Core: 68 file(s) built in (0:05.87), 86 msecs / file
There were errors. (0:17.72)
program finished with exit code 1
elapsedTime=18.027474
And this is primarily C++98 code with a lot of templates.
I mean my own app.
It would be good to narrow that down to single file / construct and send them report.
For what is worth, for me CLANG was rock stable so far, except maybe some issues with debugger info (but those unfortunately exist with msc as well).
Mirek
|
|
|
Re: 2020.1 officially released [message #54081 is a reply to message #54074] |
Sat, 30 May 2020 17:10   |
Novo
Messages: 1388 Registered: December 2006
|
Ultimate Contributor |
|
|
mirek wrote on Sat, 30 May 2020 02:55Those numbers are real? I mean, is it a problem with clang, or problem with builder printing wrong number?
Mirek
Yes, numbers are real. It is Clang.
Another case with CLANGx64.
----- AddressBookWeb ( MT MAIN CLANG SHARED BLITZ WIN32 ) (10 / 10)
Main.cpp
Pages.icpp
2 warnings generated.
Skylark/Iml: 1 file(s) built in (0:00.16), 160 msecs / file
plugin/jpg: 61 file(s) built in (0:04.61), 75 msecs / file
plugin/png: 3 file(s) built in (0:01.07), 358 msecs / file
AddressBookWeb: 2 file(s) built in (0:01.04), 523 msecs / file
Draw: 35 file(s) built in (0:05.58), 159 msecs / file
plugin/sqlite3: 2 file(s) built in (1:46.72), 53363 msecs / file
Linking...
Z:\home\ssg\.local\soft\bb-worker\worker\wine-upp\build\.cache\upp.out\CLANGx64.Blitz.Mt.Shared\AddressBookWeb.exe (6354432 B) linked in (0:00.72)
As you can see, linking is blazingly fast.
But almost two minutes to compile sqlite3 is unacceptable.
Regards,
Novo
|
|
|
Re: 2020.1 officially released [message #54082 is a reply to message #54081] |
Sat, 30 May 2020 17:56   |
Novo
Messages: 1388 Registered: December 2006
|
Ultimate Contributor |
|
|
Another sqlite3 case:
----- SQL_Sqlite3 ( MAIN CLANG SHARED BLITZ WIN32 ) (5 / 5)
simple.cpp
In file included from Z:\home\ssg\.local\soft\bb-worker\worker\wine-upp\build\uppsrc\plugin\sqlite3\lib.c:8:
Z:\home\ssg\.local\soft\bb-worker\worker\wine-upp\build\uppsrc\plugin\sqlite3/lib/sqleet.c:113138:38: warning: implicit conversion from 'long long' to 'double' changes value from 9223372036854775806 to 9223372036854775808 [-Wimplicit-int-float-conversion]
if( n==0 && r>=0 && r<LARGEST_INT64-1 ){
~~~~~~~~~~~~~~^~
Z:\home\ssg\.local\soft\bb-worker\worker\wine-upp\build\uppsrc\plugin\sqlite3/lib/sqleet.c:113140:46: warning: implicit conversion from 'long long' to 'double' changes value from 9223372036854775806 to 9223372036854775808 [-Wimplicit-int-float-conversion]
}else if( n==0 && r<0 && (-r)<LARGEST_INT64-1 ){
~~~~~~~~~~~~~~^~
2 warnings generated.
SQL_Sqlite3: 1 file(s) built in (0:00.93), 938 msecs / file
plugin/sqlite3: 2 file(s) built in (2:00.78), 60390 msecs / file
Linking...
Z:\home\ssg\.local\soft\bb-worker\worker\wine-upp\build\.cache\upp.out\CLANGx64.Blitz.Shared\SQL_Sqlite3.exe (5206016 B) linked in (0:00.71)
This time it ran for exactly two minutes. I watched compilation process in top.
Regards,
Novo
|
|
|
|
Re: 2020.1 officially released [message #54086 is a reply to message #54075] |
Sat, 30 May 2020 22:16   |
Novo
Messages: 1388 Registered: December 2006
|
Ultimate Contributor |
|
|
mirek wrote on Sat, 30 May 2020 02:57
It would be good to narrow that down to single file / construct and send them report.
For what is worth, for me CLANG was rock stable so far, except maybe some issues with debugger info (but those unfortunately exist with msc as well).
Mirek
I've updated bm-files. Nothing has really changed.
This compiler crash is still there.
Interestingly, all apps in Upp itself can be built without any problems (x64).
This is just my app causing clang to crash, but the compiler is crashing when compiling Core. This is weird.
I'll double-check situation with i686. Everything was fine with it.
Regards,
Novo
|
|
|
Goto Forum:
Current Time: Mon Feb 17 22:32:06 CET 2025
Total time taken to generate the page: 0.04817 seconds
|
|
|