On Mon, Jan 31, 2011 at 05:54:20PM +, Matthias Drochner wrote:
> Module Name: src
> Committed By: drochner
> Date: Mon Jan 31 17:54:20 UTC 2011
>
> Modified Files:
> src/lib/csu: Makefile
> src/lib/csu/common: Makefile.inc
>
> Log Message:
> use of .PARSEDIR just doesn't
jo...@britannica.bec.de said:
> Please explain. .PARSEDIR should be completely independent of .OBJDIR
> and I would strongly prefer to keep it because it is a hell lot more
> predictable...
As said, it just doesn't work:
$ pwd
[...]/src/lib/csu
$ make -V .OBJDIR
[...]/src/lib/csu/obj.zelz27
$ mak
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.
best regards
Matthias
---
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
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 w
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
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
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/l
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[];
> +Var_
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[];
>> +
>> 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
>> Ma
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* variabl
jo...@britannica.bec.de said:
> The attached patch seems to sort this out.
Yes, thanks, this works.
best regards
Matthias
--
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. incl
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: da.
>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 no
> 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 MA
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
src
Module Name:src
Committed By: skrll
Date: Tue Jun 21 06:41:39 UTC 2022
Modified Files:
src/lib/csu/common: crt0-common.c
Log Message:
Trailing whitespace
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/lib/csu/common/crt0-common.c
Please note that diff
Module Name:src
Committed By: skrll
Date: Tue Jun 21 06:41:39 UTC 2022
Modified Files:
src/lib/csu/common: crt0-common.c
Log Message:
Trailing whitespace
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/lib/csu/common/crt0-common.c
Please note that diff
Module Name:src
Committed By: christos
Date: Fri Jan 19 19:22:18 UTC 2024
Modified Files:
src/lib/csu/common: crt0-common.c csu-common.h
Log Message:
declare _libc_init() in header.
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/lib/csu/common/crt0-com
Module Name:src
Committed By: christos
Date: Fri Jan 19 19:22:18 UTC 2024
Modified Files:
src/lib/csu/common: crt0-common.c csu-common.h
Log Message:
declare _libc_init() in header.
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/lib/csu/common/crt0-com
> 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.
On Jun 27, 2013, at 7:28 AM, matthew green 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
On Thu, Jun 27, 2013 at 08:03:06AM -0700, Matt Thomas wrote:
>
> On Jun 27, 2013, at 7:28 AM, matthew green wrote:
>
> >
> >> Module Name: src
> >> Committed By: matt
> >> Date: Thu Jun 27 03:37:21 UTC 2013
> >>
> >> Modified Files:
> >>src/lib/csu/common: Makefile.
On Jun 27, 2013, at 8:33 AM, Joerg Sonnenberger wrote:
> On Thu, Jun 27, 2013 at 08:03:06AM -0700, Matt Thomas wrote:
>>
>> On Jun 27, 2013, at 7:28 AM, matthew green wrote:
>>
>>>
Module Name: src
Committed By: matt
Date: Thu Jun 27 03:37:21 UTC 2013
>
On Thu, Jun 27, 2013 at 09:54:33AM -0700, Matt Thomas wrote:
>
> On Jun 27, 2013, at 8:33 AM, Joerg Sonnenberger
> wrote:
>
> > On Thu, Jun 27, 2013 at 08:03:06AM -0700, Matt Thomas wrote:
> >>
> >> On Jun 27, 2013, at 7:28 AM, matthew green wrote:
> >>
> >>>
> Module Name: src
> >
>>> "Martin Husemann" wrote
> Module Name: src
> Committed By: martin
> Date: Sat Nov 16 10:50:43 UTC 2013
>
> Modified Files:
> src/lib/csu/common: Makefile.inc
>
> Log Message:
> We do not want to build the code model markes when creating the 32bit
> compat libs for sparc64
I
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
"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!
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
without /sbin/init (it's boot -a and then pick /rescue/init).
On Fri, Jul 13, 2018 at 01:00:17AM +, Robert Elz wrote:
> Module Name: src
> Committed
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
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
> |
Module Name:src
Committed By: rin
Date: Fri Jul 28 07:04:41 UTC 2023
Modified Files:
src/lib/csu/arch/vax: crtbegin.S
Log Message:
vax/csu: __do_global_ctors_aux: Save actually-used r8, instead of r11
Thanks Kalvis Duckmanton for report and patch on tech-toolchain:
https:
Module Name:src
Committed By: rin
Date: Fri Jul 28 07:04:41 UTC 2023
Modified Files:
src/lib/csu/arch/vax: crtbegin.S
Log Message:
vax/csu: __do_global_ctors_aux: Save actually-used r8, instead of r11
Thanks Kalvis Duckmanton for report and patch on tech-toolchain:
https:
Module Name:src
Committed By: rin
Date: Fri Jul 28 07:17:30 UTC 2023
Modified Files:
src/lib/csu/arch/vax: crtbegin.S
Log Message:
vax/csu: Use register name provided by asm.h. No binary changes.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/csu/arc
Module Name:src
Committed By: rin
Date: Fri Jul 28 07:17:30 UTC 2023
Modified Files:
src/lib/csu/arch/vax: crtbegin.S
Log Message:
vax/csu: Use register name provided by asm.h. No binary changes.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/csu/arc
Module Name:src
Committed By: rin
Date: Fri Jul 28 11:22:43 UTC 2023
Modified Files:
src/lib/csu/arch/vax: crt0.S
Log Message:
vax/csu: __start: Use 0x as entry mask instead of 0x0101 (two NOPs)
This was a quite common trick to able to load executables with a.out
head
Module Name:src
Committed By: rin
Date: Fri Jul 28 11:22:43 UTC 2023
Modified Files:
src/lib/csu/arch/vax: crt0.S
Log Message:
vax/csu: __start: Use 0x as entry mask instead of 0x0101 (two NOPs)
This was a quite common trick to able to load executables with a.out
head
39 matches
Mail list logo