Who is responsible for Newlib/vbcc ?

Have a question about our Software Developer Kit? Ask them here.

Re: Who is responsible for Newlib/vbcc ?

Postby zzd10h » Mon May 23, 2016 7:50 pm

For my case, I still use gcc, no vbcc
http://apps.amistore.net/zTools
X1000 - AmigaOS 4.1.6 / 4.1 FE
zzd10h
 
Posts: 544
Joined: Sun Sep 16, 2012 6:40 am
Location: France

Re: Who is responsible for Newlib/vbcc ?

Postby xenic » Thu Jun 23, 2016 3:56 pm

zzd10h wrote:For my case, I still use gcc, no vbcc


I should have directed my comment to phx since he was the one compiling with vbcc.
AmigaOne X1000 with 2GB memory - OS4.1 FE
xenic
 
Posts: 980
Joined: Sun Jun 19, 2011 1:06 am

Re: Who is responsible for Newlib/vbcc ?

Postby blmara » Thu Jun 23, 2016 5:53 pm

xenic wrote:
zzd10h wrote:For my case, I still use gcc, no vbcc


I should have directed my comment to phx since he was the one compiling with vbcc.


Actually, I was the person compiling with VBCC and reported this elf message. Phx is the person updating the VBCC. If I understood correctly, Frank has located the problem to newlib (for example, launching AmiPDF generates this error message and also the message above indicates this is not a problem only for users of VBCC).

Marko
blmara
 
Posts: 57
Joined: Thu Jun 23, 2011 10:03 am

Re: Who is responsible for Newlib/vbcc ?

Postby xenic » Fri Jun 24, 2016 6:43 pm

blmara wrote:
xenic wrote:
zzd10h wrote:For my case, I still use gcc, no vbcc


I should have directed my comment to phx since he was the one compiling with vbcc.


Actually, I was the person compiling with VBCC and reported this elf message. Phx is the person updating the VBCC. If I understood correctly, Frank has located the problem to newlib (for example, launching AmiPDF generates this error message and also the message above indicates this is not a problem only for users of VBCC).

Marko


Pardon my confusion over who is who here. However, I tried running AmiPDF with Sashimi running and didn't see any messages. I even switched to the debug kernal, performed a cold reboot and still don't see any message in Sashimi when starting AmiPDF. Others have reported that they don't see the message either, so there must be something different about your system setup.
AmigaOne X1000 with 2GB memory - OS4.1 FE
xenic
 
Posts: 980
Joined: Sun Jun 19, 2011 1:06 am

Re: Who is responsible for Newlib/vbcc ?

Postby salass00 » Sat Sep 17, 2016 2:54 pm

The issue with the startup.o file used by vbcc has just been fixed in the latest newlib beta version with some help from Frank Wille (AKA phx) who is the maintainer of the AmigaOS vbcc ports.

As said before the issue wasn't harmful in any way and only showed itself when debuglevel was set higher than zero, which it really it shouldn't be for most people. The pretty much only reason to have a debug level higher than zero is if you are debugging the kernel or some other system component which is affected by this setting. If you are not using it to debug system components then you're just making the OS slower for no real reason.
User avatar
salass00
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 466
Joined: Sat Jun 18, 2011 4:12 pm
Location: Finland

Re: Who is responsible for Newlib/vbcc ?

Postby ssolie » Mon Sep 19, 2016 4:58 am

blmara wrote:Really, are there people developing newlib.library?

The AmigaOS development team looks after all the components as a collective. There are various members that specialize in pieces of the OS but everyone is welcome and able to work on any component. There is not one person who is the newlib maintainer.

In this case, vbcc is a 3rd party compiler and we do not test with it. If something happens to break with vbcc for some reason we will try to work it out but it is not the officially supported compiler. GCC is the officially supported compiler and we always test with that one.
AmigaOS Development Team Lead
Be authentic. Get AmigaOS.
User avatar
ssolie
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 1000
Joined: Mon Dec 20, 2010 9:51 pm
Location: Canada

Re: Who is responsible for Newlib/vbcc ?

Postby blmara » Sat Sep 24, 2016 2:17 pm

salass00 wrote:The issue with the startup.o file used by vbcc has just been fixed in the latest newlib beta version with some help from Frank Wille (AKA phx) who is the maintainer of the AmigaOS vbcc ports.

As said before the issue wasn't harmful in any way and only showed itself when debuglevel was set higher than zero, which it really it shouldn't be for most people. The pretty much only reason to have a debug level higher than zero is if you are debugging the kernel or some other system component which is affected by this setting. If you are not using it to debug system components then you're just making the OS slower for no real reason.


Great to hear both that the reason for this issues was found and it wasn't actually harmful. Thanks!

Marko
blmara
 
Posts: 57
Joined: Thu Jun 23, 2011 10:03 am

Re: Who is responsible for Newlib/vbcc ?

Postby Raziel » Sat Sep 24, 2016 2:17 pm

salass00 wrote:The issue with the startup.o file used by vbcc has just been fixed in the latest newlib beta version with some help from Frank Wille (AKA phx) who is the maintainer of the AmigaOS vbcc ports.

As said before the issue wasn't harmful in any way and only showed itself when debuglevel was set higher than zero, which it really it shouldn't be for most people. The pretty much only reason to have a debug level higher than zero is if you are debugging the kernel or some other system component which is affected by this setting. If you are not using it to debug system components then you're just making the OS slower for no real reason.

So, "SERIAL MUNGE DEBUGLEVEL=5" does not help debugging problems in programs but only helps debugging stuff in OS components and kernel?

Can i savely delete this parts then or should i keep MUNGE?
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
User avatar
Raziel
 
Posts: 732
Joined: Sat Jun 18, 2011 5:00 pm
Location: A haunted Castle somewhere in the Bavarian Mountains

Re: Who is responsible for Newlib/vbcc ?

Postby blmara » Sat Sep 24, 2016 2:20 pm

ssolie wrote:...
In this case, vbcc is a 3rd party compiler and we do not test with it. If something happens to break with vbcc for some reason we will try to work it out but it is not the officially supported compiler. GCC is the officially supported compiler and we always test with that one.


Yes, I know and I am happy that you have helped to solve the issue even if the compiler is not the official one.

Marko
blmara
 
Posts: 57
Joined: Thu Jun 23, 2011 10:03 am

Re: Who is responsible for Newlib/vbcc ?

Postby tonyw » Sun Sep 25, 2016 5:43 am

"SERIAL MUNGE DEBUGLEVEL=5" does not help debugging problems in programs but only helps debugging stuff in OS components and kernel?


Certainly not! Using the "debug" kernel is essential if you are doing any sort of program debugging - OS components or otherwise.

"Serial" means print debug information such as output from the IExec->DebugPrintF() function directly to the serial port. If you are debugging a system component you need to do this because if there is a crash, it will help get all the information printed. Using printf() or a debugger likely will prevent the last line or two from appearing.

"Munge" is not essential but does make it more likely that a program that forgets to initialise its memory will fail.

"DebugLevel=5" is rather extreme and won't help you debug anything except the inner-most parts of the OS. Leave it at "1" to get the minimum debug output from the kernel, I/O drivers and DOS.

So if you are debugging software (any software), make sure you use the debug kernel and "Serial Munge DebugLevel=1". If you are not debugging or testing anything, use the normal kernel and debug level "0".
cheers
tony
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 1208
Joined: Wed Mar 09, 2011 2:36 pm
Location: Sydney, Australia

PreviousNext

Return to SDK Support

Who is online

Users browsing this forum: No registered users and 1 guest