Re: [fpc-devel] FPC 3.0.2 for SPARC

2017-05-08 Thread Mark Morgan Lloyd

On 06/05/17 06:30, Ozz Nixon wrote:

(Personally): AWESOME!


:-) The compiler etc. should be OK, the thing to really watch out for- 
particularly on Solaris- is which variant of binutils is being used 
(ditto for tar etc., particularly during installation).


There's a Solaris page on the Wiki which is probably still relevant:

http://wiki.lazarus.freepascal.org/Lazarus_on_Solaris

As Pierre had to remind me, the -Xn issue is still significant.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] FPC 3.0.2 for SPARC

2017-05-08 Thread Mark Morgan Lloyd

On 08/05/17 14:00, Pierre Muller wrote:

Le 05/05/2017 à 13:00, Mark Morgan Lloyd a écrit :> This is something that was discussed on the 
FPC-Pascal ML but it died.> > I am able to build installation bundles for SPARC running Linux 
(Debian) > and Solaris (OpenSXCE). The fp IDE works but doesn't have libgdb > support, and I've 
got limited time to struggle up the learning curve. > Would these be of use for the downloads area, 
which at present only has > 2.6.2 and 2.4.2 respectively?>
  I have uploaded the files that Mark sent to meto both main ftp server and 
SourceForge,and adapted html pages.
  You should now be able to download 3.0.2 sparc-solaris and 
sparc-linuxinstallation tar files by following the links starting at:

https://www.freepascal.org/download.var
  If you encounter any problems, to download the files or toinstall the new 
3.0.2 sparc compiler, please let us know!

Thanks Mark!


All credit to the core developers who've generally made this project a 
success, and my apologies for bothering them over the years with what's 
admittedly a fairly obscure platform by now.


I think it's worth keeping alive if possible though, because its 
insistence on fairly strict alignment etc. is useful for showing up 
potential problems.


Lazarus should compile on both Linux and Solaris, subject to one known 
bug when invoking help https://mantis.freepascal.org/view.php?id=22696


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] FPC 3.0.2 for SPARC

2017-05-08 Thread Pierre Muller


Le 05/05/2017 à 13:00, Mark Morgan Lloyd a écrit :
> This is something that was discussed on the FPC-Pascal ML but it died.
> 
> I am able to build installation bundles for SPARC running Linux (Debian) 
> and Solaris (OpenSXCE). The fp IDE works but doesn't have libgdb 
> support, and I've got limited time to struggle up the learning curve. 
> Would these be of use for the downloads area, which at present only has 
> 2.6.2 and 2.4.2 respectively?
> 

  I have uploaded the files that Mark sent to me
to both main ftp server and SourceForge,
and adapted html pages.

  You should now be able to download 3.0.2 sparc-solaris and sparc-linux
installation tar files by following the links starting at:


https://www.freepascal.org/download.var

  If you encounter any problems, to download the files or to
install the new 3.0.2 sparc compiler, please let us know!


Thanks Mark!


Pierre
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] FPC 3.0.2 for SPARC

2017-05-08 Thread Pierre Muller


Le 07/05/2017 à 16:35, Mark Morgan Lloyd a écrit :
> On 05/05/17 16:00, Pierre Muller wrote:
> 
>>   You probably need to add the -Xn option into the makepack script!
> 
> Thanks for the pointer as to where it goes: those last words stopped me 
> spending days looking for the appropriate makefile :-)
> 
> If I do this it builds successfully:
> 
>   *sunos*) MAKE=gmake
>  EXTRAOPT='-Xn'
>   # Use GNU tar if present
>   if [ "`which gtar`" != "" ]; then
> TAR=`which gtar`
>   fi
>   ;;
> 
> Should I raise a bug on Mantis for this? can anybody comment on what 
> impact this would have on the Intel target for Solaris?
> 
> I'll add a note to the existing stuff on the Wiki.

  I committed the patch below,
which basically restricts your change to native compilation.


Pierre



muller@gcc45:~/pas/trunk$ svn diff -c 1302
Index: install/makepack
===
--- install/makepack(revision 1301)
+++ install/makepack(revision 1302)
@@ -45,6 +45,10 @@
   ;;

  *sunos*) MAKE=gmake
+ # Use system linker if on solaris machine
+ if [ "$SOURCEOS" == "solaris" ]; then
+   EXTRAOPT="-Xn"
+ fi
  # Use GNU tar if present
  if [ "`which gtar`" != "" ]; then
TAR=`which gtar`
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] UTF-8 string literals

2017-05-08 Thread Martok
> That might be the one from Michael Schnell. Probably it should be marked with 
> a
> big, fat warning that it's merely a user's suggestion and nothing official.
Not even that. This one looks relatively obvious to me ;)

I've filed a bug as  for 
reference.


Martok

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] BacktraceStrFunc on linux x86_64?

2017-05-08 Thread Marco van de Voort
In our previous episode, Bernd Mueller said:
> > Please test with the fixes branches.
> 
> I tested yesterdays fixes branch and it worked for me now.

Good. Most mass merging now have been done. Some dots-on-i and a rereading
of various threads for unmerged requests still have to be done.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] BacktraceStrFunc on linux x86_64?

2017-05-08 Thread Bernd Mueller

On 05/01/2017 02:34 PM, Marco van de Voort wrote:

In our previous episode, Bernd Mueller said:

Only 3.0.2 linux for i386 CPU has the problem. 64-bit is OK.


hmm, I don't get the lineinfo on x86-64 (Ubuntu 16.04/Mate, 64-Bit).
armel and armhf are affected too.


Please test with the fixes branches.


I tested yesterdays fixes branch and it worked for me now.

Regards, Bernd.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel