Re: libobjc2/gnustep-base also failing under FreeBSD + Debian9

2019-02-18 Thread Andreas Fink
the cases now gets totally overboard... I have one root class UMObject which does in some cases (debug options) set up a c pointer to the class type's name (this to work around lldb not being able to display stuff at times). Anyhow, today I traced a situation down when the app starts up,

Re: libobjc2/gnustep-base also failing under FreeBSD + Debian9

2019-02-18 Thread Andreas Fink
Under Debian9, it is impossible to get anything properly working. It seems to be that the linker, the compiler and libobjc2 are constantly at war with each other. There is no valid combination of either of them. The combination which got me the furthest is the one which uses clang-7 and the

Re: libobjc2/gnustep-base also failing under FreeBSD

2019-02-12 Thread David Chisnall
On 11/02/2019 16:10, Jordan Schidlowsky wrote: I get these same linker errors when I link for android using a newish lld...  If you use any other linker these linker errors will go away ( gold or ld do not have these errors). I'd be quite worried if they went away. The linker is reporting

Re: libobjc2/gnustep-base also failing under FreeBSD

2019-02-11 Thread Andreas Fink
From reading the scrip gnustep-config /usr/local/GNUstep/System/Tools/gnustep-config --objc-libs does call gmake --no-print-directory -s -f "$GNUSTEP_MAKEFILES/empty.make" print-gnustep-make-objc-flags quiet=yes 2>/dev/null and on my freshly installed system, there's no

Re: libobjc2/gnustep-base also failing under FreeBSD

2019-02-11 Thread David Wetzel
I just build it after upgrading ports. dave@apu>/usr/local/GNUstep/System/Tools/gnustep-config --objc-libs -rdynamic -L/usr/local/lib -fstack-protector -pthread -fexceptions -fobjc-runtime=gnustep-1.8 -fblocks -L/home/dave/GNUstep/Library/Libraries -L/usr/local/GNUstep/Local/Library/Libraries

Re: libobjc2/gnustep-base also failing under FreeBSD

2019-02-11 Thread Andreas Fink
I reinstalled a fresh new FreeBSD VM and did install the package gnustep-base again. Now /usr/local/GNUstep/System/Tools/gnustep-config returns absolutely nothing: $ /usr/local/GNUstep/System/Tools/gnustep-config --objc-libs $ /usr/local/GNUstep/System/Tools/gnustep-config --objc-flags WTF.

Re: libobjc2/gnustep-base also failing under FreeBSD

2019-02-11 Thread Patryk Laurent
> On Feb 11, 2019, at 08:04, David Chisnall wrote: > >> On 11/02/2019 15:51, Patryk Laurent wrote: >> Would the command "portsnap fetch update" help here? (Still new to FreeBSD >> here...) ... > > If you're using binary packages, the pkg tool will grab them from one of two > repos. The

Re: libobjc2/gnustep-base also failing under FreeBSD

2019-02-11 Thread David Chisnall
On 11/02/2019 15:56, Andreas Fink wrote: [root@freebsd /etc]# /usr/local/GNUstep/System/Tools/gnustep-config --objc-libs -rdynamic -L/usr/local/lib -fstack-protector -pthread -fexceptions -fobjc-runtime=gnustep-1.8 -fblocks -L/root/GNUstep/Library/Libraries

Re: libobjc2/gnustep-base also failing under FreeBSD

2019-02-11 Thread Jordan Schidlowsky
I get these same linker errors when I link for android using a newish lld... If you use any other linker these linker errors will go away ( gold or ld do not have these errors). > On Feb 11, 2019, at 5:10 AM, Andreas Fink wrote: > > ld.lld: error:

Re: libobjc2/gnustep-base also failing under FreeBSD

2019-02-11 Thread David Chisnall
On 11/02/2019 15:51, Patryk Laurent wrote: Would the command "portsnap fetch update" help here? (Still new to FreeBSD here...) portsnap fetches a new ports tree. Unless you're building ports from source, you shouldn't run it (and, if you are, you still shouldn't run it, you should use

Re: libobjc2/gnustep-base also failing under FreeBSD

2019-02-11 Thread Andreas Fink
Something is still wrong. It gives me -fobjc-runtime=gnustep-1.8 instead of -fobjc-runtime=gnustep-2.0 [root@freebsd /]# pkg install gnustep-base Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking integrity... done (0

Re: libobjc2/gnustep-base also failing under FreeBSD

2019-02-11 Thread Patryk Laurent
Would the command "portsnap fetch update" help here? (Still new to FreeBSD here...) Patryk > On Feb 11, 2019, at 07:40, David Chisnall wrote: > >> On 11/02/2019 15:03, Andreas Fink wrote: >> root@freebsd:/usr/Users/afink/gnustep/base # pkg update >> Updating FreeBSD repository

Re: libobjc2/gnustep-base also failing under FreeBSD

2019-02-11 Thread David Chisnall
On 11/02/2019 15:03, Andreas Fink wrote: root@freebsd:/usr/Users/afink/gnustep/base # pkg update Updating FreeBSD repository catalogue... Please check that you are using the latest package repo and not the quarterly branch. David ___

Re: libobjc2/gnustep-base also failing under FreeBSD

2019-02-11 Thread Andreas Fink
> On 11 Feb 2019, at 15:58, David Chisnall wrote: > > On 11/02/2019 11:10, Andreas Fink wrote: >> Hello David, >> Given you develop mainly on Freebsd, I tried to see if I can get a stable >> instance of libobjc2 and gnustep-base by switching to FreeBSD. >> but I still run into linker

Re: libobjc2/gnustep-base also failing under FreeBSD

2019-02-11 Thread David Chisnall
On 11/02/2019 11:10, Andreas Fink wrote: Hello David, Given you develop mainly on Freebsd, I tried to see if I can get a stable instance of libobjc2 and gnustep-base by switching to FreeBSD. but I still run into linker issues. This is how I did it This is how I did it: # pkg ins gnustep

libobjc2/gnustep-base also failing under FreeBSD

2019-02-11 Thread Andreas Fink
Hello David, Given you develop mainly on Freebsd, I tried to see if I can get a stable instance of libobjc2 and gnustep-base by switching to FreeBSD. but I still run into linker issues. This is how I did it 1. freshly installed VM with FeeBSD 12.0 --