Re: CVS commit: src/lib/csu

2018-12-28 Thread Rin Okuyama
Thanks! GCC on m68k gets working again. rin On 2018/12/29 3:17, Christos Zoulas wrote: Module Name:src Committed By: christos Date: Fri Dec 28 18:17:11 UTC 2018 Modified Files: src/lib/csu/arch/aarch64: Makefile.inc src/lib/csu/arch/arm: Makefile.inc

Re: CVS commit: src/lib/csu/common

2018-07-13 Thread maya
On Fri, Jul 13, 2018 at 04:48:32PM +0700, Robert Elz wrote: > Date:Fri, 13 Jul 2018 09:38:02 + > From:m...@netbsd.org > Message-ID: <20180713093802.ga20...@homeworld.netbsd.org> > > | ack. we should probably leave the build broken, anyone who tries out the > |

Re: CVS commit: src/lib/csu/common

2018-07-13 Thread Robert Elz
Date:Fri, 13 Jul 2018 09:38:02 + From:m...@netbsd.org Message-ID: <20180713093802.ga20...@homeworld.netbsd.org> | ack. we should probably leave the build broken, anyone who tries out the | resulting netbsd might have to spend some time figuring out how to boot

re: CVS commit: src/lib/csu/common

2016-06-02 Thread matthew green
"Joerg Sonnenberger" writes: > Module Name: src > Committed By: joerg > Date: Wed Jun 1 21:24:55 UTC 2016 > > Modified Files: > src/lib/csu/common: Makefile.inc > > Log Message: > Revert -O1 hack for GCC 5.3, replaced by workaround in the code. please update doc/HACKS. thanks!

Re: CVS commit: src/lib/csu/common

2013-11-17 Thread Martin Husemann
On Sun, Nov 17, 2013 at 08:40:51AM +0900, Takeshi Nakayama wrote: I think proper fix is to use CSU_MACHINE_ARCH instead of MACHINE_ARCH. Indeed, thanks! Martin

re: CVS commit: src/lib/csu

2013-09-10 Thread matthew green
Module Name: src Committed By: matt Date: Tue Sep 10 16:45:33 UTC 2013 Modified Files: src/lib/csu: Makefile src/lib/csu/arch/earm: Makefile.inc src/lib/csu/common: Makefile.inc sysident.S sysident_assym.cf Log Message: Add support for a NetBSD MARCH elf

re: CVS commit: src/lib/csu/common

2013-06-27 Thread matthew green
Module Name: src Committed By: matt Date: Thu Jun 27 03:37:21 UTC 2013 Modified Files: src/lib/csu/common: Makefile.inc Log Message: Add -fPIC to compile of crtbeginS.o what is this for? crtbeginS.o is for static binaries isn't it? .mrg.

Re: CVS commit: src/lib/csu/common

2013-06-27 Thread Matt Thomas
On Jun 27, 2013, at 7:28 AM, matthew green m...@eterna.com.au wrote: Module Name: src Committed By:matt Date:Thu Jun 27 03:37:21 UTC 2013 Modified Files: src/lib/csu/common: Makefile.inc Log Message: Add -fPIC to compile of crtbeginS.o what is this

Re: CVS commit: src/lib/csu/common

2013-06-27 Thread Joerg Sonnenberger
On Thu, Jun 27, 2013 at 08:03:06AM -0700, Matt Thomas wrote: On Jun 27, 2013, at 7:28 AM, matthew green m...@eterna.com.au wrote: Module Name: src Committed By: matt Date: Thu Jun 27 03:37:21 UTC 2013 Modified Files: src/lib/csu/common: Makefile.inc

Re: CVS commit: src/lib/csu/common

2013-06-27 Thread Matt Thomas
On Jun 27, 2013, at 8:33 AM, Joerg Sonnenberger jo...@britannica.bec.de wrote: On Thu, Jun 27, 2013 at 08:03:06AM -0700, Matt Thomas wrote: On Jun 27, 2013, at 7:28 AM, matthew green m...@eterna.com.au wrote: Module Name: src Committed By: matt Date: Thu Jun 27

Re: CVS commit: src/lib/csu/common

2013-06-27 Thread Joerg Sonnenberger
On Thu, Jun 27, 2013 at 09:54:33AM -0700, Matt Thomas wrote: On Jun 27, 2013, at 8:33 AM, Joerg Sonnenberger jo...@britannica.bec.de wrote: On Thu, Jun 27, 2013 at 08:03:06AM -0700, Matt Thomas wrote: On Jun 27, 2013, at 7:28 AM, matthew green m...@eterna.com.au wrote: Module

Re: CVS commit: src/lib/csu

2011-02-06 Thread David Holland
On Mon, Jan 31, 2011 at 10:45:34PM +, David Holland wrote: However, as I recall it ought to work ok to do Var_Set(.PARSEDIR, $(.CURDIR), VAR_GLOBAL, 0); instead. However, this still isn't a correct fix as it doesn't take care of the case when e.g. including

Re: CVS commit: src/lib/csu

2011-02-06 Thread David Laight
On Sun, Feb 06, 2011 at 07:46:23PM +, David Holland wrote: Making .PARSEDIR always absolute should fix this problem, but in the general case requires realpath(). It will also give problems to anyone using bmake under cygwin to run windows binaries. David -- David Laight:

Re: CVS commit: src/lib/csu

2011-02-06 Thread Simon J. Gerraty
Making .PARSEDIR always absolute should fix this problem, but in the general case requires realpath(). Yes. Though it is worth noting that setting .PARSEDIR to .CURDIR when the makefile path contains no '/' may be sufficient for correct operation. However, I'm guessing that .PARSEDIR may not

Re: CVS commit: src/lib/csu

2011-02-01 Thread Matthias Drochner
jo...@britannica.bec.de said: The attached patch seems to sort this out. Yes, thanks, this works. best regards Matthias

Re: CVS commit: src/lib/csu

2011-01-31 Thread Joerg Sonnenberger
On Mon, Jan 31, 2011 at 07:32:50PM +0100, Matthias Drochner wrote: m.droch...@fz-juelich.de said: $ make -V .OBJDIR [...]/src/lib/csu/obj.zelz27 And as a data point, to show what's going wrong: $ make -V COMMON_DIR ./common That should be ../common, or better an absolute path. $

Re: CVS commit: src/lib/csu

2011-01-31 Thread Matthias Drochner
jo...@britannica.bec.de said: $ ~/work/NetBSD/obj/clang-base/tools/bin/nbmake-amd64 -V .OBJDIR /home/joerg/work/NetBSD/obj/clang-base/amd64/lib/csu This shows that you are not using an .OBJDIR, in the sense that it is different from .CURDIR. See the make(1) manpage. There are various rules

Re: CVS commit: src/lib/csu

2011-01-31 Thread Joerg Sonnenberger
On Mon, Jan 31, 2011 at 08:42:59PM +0100, Matthias Drochner wrote: jo...@britannica.bec.de said: $ ~/work/NetBSD/obj/clang-base/tools/bin/nbmake-amd64 -V .OBJDIR /home/joerg/work/NetBSD/obj/clang-base/amd64/lib/csu This shows that you are not using an .OBJDIR, in the sense that it is

Re: CVS commit: src/lib/csu

2011-01-31 Thread Matthias Drochner
jo...@britannica.bec.de said: BSDOBJDIR doesn't seem to do anything. BUILDID breaks this. I have no idea why those variables even exist, the code in bsd.own.mk is messy at best I agree that the code is messy, but at least BUILDID serves a useful purpose: I can use the same source tree from

Re: CVS commit: src/lib/csu

2011-01-31 Thread Joerg Sonnenberger
On Mon, Jan 31, 2011 at 09:54:03PM +0100, Joerg Sonnenberger wrote: On Mon, Jan 31, 2011 at 08:42:59PM +0100, Matthias Drochner wrote: jo...@britannica.bec.de said: $ ~/work/NetBSD/obj/clang-base/tools/bin/nbmake-amd64 -V .OBJDIR /home/joerg/work/NetBSD/obj/clang-base/amd64/lib/csu

Re: CVS commit: src/lib/csu

2011-01-31 Thread David Holland
On Mon, Jan 31, 2011 at 11:05:23PM +0100, Joerg Sonnenberger wrote: -static char curdir[MAXPATHLEN + 1]; /* startup directory */ +char curdir[MAXPATHLEN + 1];/* startup directory */ [...] -Var_Set(.PARSEDIR, ., VAR_GLOBAL, 0); +extern char curdir[]; +

Re: CVS commit: src/lib/csu

2011-01-31 Thread David Holland
On Mon, Jan 31, 2011 at 10:34:25PM +, David Holland wrote: -static char curdir[MAXPATHLEN + 1];/* startup directory */ +char curdir[MAXPATHLEN + 1]; /* startup directory */ [...] - Var_Set(.PARSEDIR, ., VAR_GLOBAL, 0); + extern char curdir[]; +

Re: CVS commit: src/lib/csu

2011-01-31 Thread Simon J. Gerraty
I can comment out the MAKEOBJDIR assignment in nbmake-amd64 and it still works fine. BSDOBJDIR doesn't seem to do anything. BUILDID breaks this. I have no idea why those variables even exist, the code in bsd.own.mk is messy at best and I don't think it justifies the changes to the Makefiles.

Re: CVS commit: src/lib/csu

2011-01-31 Thread Joerg Sonnenberger
On Mon, Jan 31, 2011 at 04:07:43PM -0800, Simon J. Gerraty wrote: I didn't follow the conversation, how is this patch relevant to BUILDID? Some of the redefinition magic involved with BUILDID results in .PARSEDIR as ., not a full path. This only happens if none of the usual MAKEOBJDIR* variables