| 
 | 
 | 
 
Home » Community » U++ community news and announcements » New experimental Linux/FreeBSD release 
	| 
		
 |  
	| 
		
 |  
	
		
		
			| Re: New experimental Linux/FreeBSD release [message #53522 is a reply to message #53516] | 
			Wed, 08 April 2020 12:27    | 
		 
		
			
				
				
				
					
						  
						Oblivion
						 Messages: 1240 Registered: August 2007 
						
					 | 
					Senior Contributor  | 
					 | 
		 
		 
	 | 
 
	
		Edit 1: I'll investigate further, this may be a problem on my side. I'll let you know. 
Edit 2: This occurs if TIMING macro is in Paint(); 
Edit 3: This occurs only on GTK. NOGTK mode is not affected. (A lock issue? What's changed in GTK backend, lately?) 
 
Quote:Just a quick question, what is the name of the application? Do you have non-ASCII names in it?  
 
It is "TerminalExample", nothing more.  
 
By the way, I've checked out SVN, cleared the cache, and manually set up .config/u++. Unfortunately, it didn't change the situation. 
 
However, I've now noticed that this occurs only when TIMING macros are used (specifically, RTIMING). 
Also DuMPS and LOGS seem to be acting weirdly (not dumping, or logging) when TIMING macros are used. 
Not to mention each RTIMING macro adds ~8 ms. delay to overall result. (Maybe related, maybe not, I don't know.) 
 
Best regards, 
Oblivion 
		
		
  Github page: https://github.com/ismail-yilmaz 
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
		[Updated on: Wed, 08 April 2020 13:37] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	
		
		
			| Re: New experimental Linux/FreeBSD release [message #53535 is a reply to message #53534] | 
			Wed, 08 April 2020 21:19    | 
		 
		
			
				
				
				  | 
					
						  
						amrein
						 Messages: 278 Registered: August 2008  Location: France
						
					 | 
					Experienced Member  | 
					 | 
		 
		 
	 | 
 
	
		I can't find where this bug come from (I guess it's a bug). 
 
When I use Makefiles, I get only one file named .cache/upp.out/build_info.h 
When I use umk or umks32, I get several files named build_info.h in .cache/upp.out/ 
 
Quote: 
rm -fr .cache/upp.out/* 
./umk ./uppsrc umk CLANG -brs ./umk 
find .cache/upp.out/ -name build_info.h 
  
 
Result: 
 
Quote: 
.cache/upp.out/Core/CLANG.Blitz.Shared/build_info.h 
.cache/upp.out/plugin/pcre/CLANG.Shared/build_info.h 
.cache/upp.out/plugin/zstd/CLANG.Blitz.Shared/build_info.h 
.cache/upp.out/plugin/lz4/CLANG.Blitz.Shared/build_info.h 
.cache/upp.out/plugin/lzma/CLANG.Blitz.Shared/build_info.h 
.cache/upp.out/plugin/bz2/CLANG.Blitz.Shared/build_info.h 
.cache/upp.out/Esc/CLANG.Blitz.Shared/build_info.h 
.cache/upp.out/umk/CLANG.Blitz.Main.Shared/build_info.h 
.cache/upp.out/ide/Java/CLANG.Blitz.Shared/build_info.h 
.cache/upp.out/ide/Android/CLANG.Blitz.Shared/build_info.h 
.cache/upp.out/ide/Core/CLANG.Blitz.Shared/build_info.h 
.cache/upp.out/ide/Builders/CLANG.Shared/build_info.h 
  
 
Those files don't have the same content (the defined variables inside don't have the same value most of the time).
		
		
		[Updated on: Wed, 08 April 2020 21:25] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |  
	
		
		
			| Re: New experimental Linux/FreeBSD release [message #53537 is a reply to message #53535] | 
			Thu, 09 April 2020 10:22    | 
		 
		
			
				
				
				  | 
					
						  
						mirek
						 Messages: 14271 Registered: November 2005 
						
					 | 
					Ultimate Member  | 
					 | 
		 
		 
	 | 
 
	
		amrein wrote on Wed, 08 April 2020 21:19I can't find where this bug come from (I guess it's a bug). 
 
When I use Makefiles, I get only one file named .cache/upp.out/build_info.h 
When I use umk or umks32, I get several files named build_info.h in .cache/upp.out/ 
 
Quote: 
rm -fr .cache/upp.out/* 
./umk ./uppsrc umk CLANG -brs ./umk 
find .cache/upp.out/ -name build_info.h 
  
 
Result: 
 
Quote: 
.cache/upp.out/Core/CLANG.Blitz.Shared/build_info.h 
.cache/upp.out/plugin/pcre/CLANG.Shared/build_info.h 
.cache/upp.out/plugin/zstd/CLANG.Blitz.Shared/build_info.h 
.cache/upp.out/plugin/lz4/CLANG.Blitz.Shared/build_info.h 
.cache/upp.out/plugin/lzma/CLANG.Blitz.Shared/build_info.h 
.cache/upp.out/plugin/bz2/CLANG.Blitz.Shared/build_info.h 
.cache/upp.out/Esc/CLANG.Blitz.Shared/build_info.h 
.cache/upp.out/umk/CLANG.Blitz.Main.Shared/build_info.h 
.cache/upp.out/ide/Java/CLANG.Blitz.Shared/build_info.h 
.cache/upp.out/ide/Android/CLANG.Blitz.Shared/build_info.h 
.cache/upp.out/ide/Core/CLANG.Blitz.Shared/build_info.h 
.cache/upp.out/ide/Builders/CLANG.Shared/build_info.h 
  
 
Those files don't have the same content (the defined variables inside don't have the same value most of the time).  
 
Let us say "feature". 
 
From utility perspective, it is better when build_info is in all package output files. This however was not yet implemented for Makefile and is causing little problems that way yet. I will file this as low-priority issue in redmine. 
 
EDIT: Also, these defines should be treated by the code as "optional additional information" (with #ifdef)... 
 
Mirek
		
		
		[Updated on: Thu, 09 April 2020 10:25] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |  
	
		
		
			| Re: New experimental Linux/FreeBSD release [message #53552 is a reply to message #53537] | 
			Sat, 11 April 2020 10:01    | 
		 
		
			
				
				
				  | 
					
						  
						amrein
						 Messages: 278 Registered: August 2008  Location: France
						
					 | 
					Experienced Member  | 
					 | 
		 
		 
	 | 
 
	
		Little fix for your Makefiles 
 
Summary: 
 
* replace hard coded reference of .cache/upp.out by $(UPPOUT) 
* secure the line that remove $(UPPOUT) (clean target) 
* remove unneeded line, the last line that remove build_info.h (this file is in $(UPPOUT)) 
 
Here is the patch. Of course, you will certainly fix umk/theide code instead I guess. 
 
$ diff Makefile Makefile.ide  
3,4c3,4 
< UPPOUT = .cache/upp.out/ 
< CINC   =  -I$(UPPDIR1) `pkg-config --cflags freetype2` `pkg-config --cflags x11` `pkg-config --cflags fontconfig` `pkg-config --cflags xcb` `pkg-config --cflags expat` `pkg-config --cflags xinerama` `pkg-config --cflags xrender` `pkg-config --cflags xft` `pkg-config --cflags xdmcp` `pkg-config --cflags xext` `pkg-config --cflags gtk+-3.0` `pkg-config --cflags libnotify` `pkg-config --cflags libpng` -I./ -I.cache/upp.out 
--- 
> UPPOUT = .cache/upp.out/ 
> CINC   =  -I$(UPPDIR1) `pkg-config --cflags freetype2` `pkg-config --cflags x11` `pkg-config --cflags fontconfig` `pkg-config --cflags xcb` `pkg-config --cflags expat` `pkg-config --cflags xinerama` `pkg-config --cflags xrender` `pkg-config --cflags xft` `pkg-config --cflags xdmcp` `pkg-config --cflags xext` `pkg-config --cflags gtk+-3.0` `pkg-config --cflags libnotify` `pkg-config --cflags libpng` -I./ -I$(UPPOUT) 
94c94 
< OutFile = ./ide 
--- 
> OutFile = ide.out 
103c103 
<       echo '#define bmUSER    "'`whoami`'"') > ".cache/upp.out/build_info.h" 
--- 
>       echo '#define bmUSER    "'`whoami`'"') > "$(UPPOUT)build_info.h" 
72308,72309c72308,72309 
72308,72309c72308,72309 
<       if [ -d "$(UPPOUT)" ]; then rm -rf "$(UPPOUT)" ; fi 
<       if [ -f build_info.h ]; then rm -f build_info.h ; fi 
--- 
>       if [ "$(UPPOUT)" != "" -a "$(UPPOUT)" != "/" -a -d "$(UPPOUT)" ] ; then rm -fr "$(UPPOUT)" ; fi 
> 
		
		
		[Updated on: Sat, 11 April 2020 10:14] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |   
Goto Forum:
 
 Current Time: Tue Nov 04 07:41:04 CET 2025 
 Total time taken to generate the page: 0.05374 seconds 
 |   
 |  
  |