tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: cannot execute 'ld': Argument list too long
-------- Ursprungligt meddelande --------
Den 2024-08-22 15:51, Thomas Klausner <wiz%gatalith.at@localhost> skrev:
> On Thu, Aug 22, 2024 at 01:46:20PM +0000, pin wrote:
> > On Thursday, August 22nd, 2024 at 11:22 AM, pin <voidpin%protonmail.com@localhost> wrote:
> >
> > > Hi,
> > >
> > > I'm seeing quite a few of these on bulk builds and now I got one myself.
> > >
> > > [...]
> > > Compiling ctrlc v3.4.4
> > > error: linking with `cc` failed: exit status: 1
> > > |
> > > = note: LC_ALL="C" PATH="/usr/pkg/lib/rustlib/x86_64-unknown-netbsd/bin:/usr/pkgsrc/wip/nushell/work/.cwrapper/bin:/usr/pkgsrc/wip/nushell/work/.buildlink/bin:/usr/pkgsrc/wip/nushell/work/.gcc/bin:/usr/pkgsrc/wip/nushell/work/.tools/bin:/usr/pkg/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin" VSLANG="1033" "cc" "-Wl,-R/usr/pkg/lib/libatomic" "-Wl,-L/usr/pkg/lib/libatomic" "-m64" "/tmp/rustcQRUpW1/symbols.o" "/usr/pkgsrc/wip/nushell/work/nushell-0.97.1/target/release/deps/nu-5128808a168dd35a.447nozcbzygncjur.rcgu.o" "/usr/pkgsrc/wip/nushell/work/nushell-0.97.1/target/release/deps/
> > > [...]
> > > = note: gcc: fatal error: cannot execute 'ld': execvp: Argument list too long
> > > compilation terminated.
> > >
> > >
> > > error: could not compile `nu` (bin "nu") due to 1 previous error
> > > *** Error code 101
> > >
> > > Stop.
> > >
> > > Any clues on how to fix this?
> > > Thanks,
> > > Pedro
> >
> > Just adding a bit more context,
> > This is nushell-0.96.1 on a bulk build,
> > http://shadow.netbsd.org/pub/pkgsrc/packages/reports/HEAD/NetBSD-10.0-x86_64/20240821.1314/nushell-0.96.1/build.log
> >
> > I have no issues building this version on my system,
> > NetBSD mybox 10.99.11 NetBSD 10.99.11 (GENERIC) #0: Mon Aug 19 17:53:44 UTC 2024
> >
> > But, I'm hiting this error when locally building the new release 0.97.1
>
> This is a really long command line.
>
> The limit on NetBSD is lower than on other operating systems:
> # sysctl kern.argmax
> kern.argmax = 262144
>
> (on macOS for example it is 1048576).
>
> Talk to upstream how to reduce this?
> Thomas
>
Done :)
https://github.com/nushell/nushell/issues/13672
Home |
Main Index |
Thread Index |
Old Index