NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-sun2/56158: sun2 m68000: super-block backups (for fsck -b #) at: 32,nbmakefs: Writing inode 152 (work/./bin/cat), bytes 528384 + 4096: No space left on device



The following reply was made to PR port-sun2/56158; it has been noted by GNATS.

From: Jan-Benedict Glaw <jbglaw%lug-owl.de@localhost>
To: matthew green <mrg%eterna.com.au@localhost>
Cc: gnats-bugs%netbsd.org@localhost, Chris Pinnock <cjep%netbsd.org@localhost>,
	gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
	Chris Pinnock <chris_pinnock%mac.com@localhost>
Subject: Re: port-sun2/56158: sun2 m68000: super-block backups (for fsck -b
 #) at: 32,nbmakefs: Writing inode 152 (work/./bin/cat), bytes 528384 + 4096:
 No space left on device
Date: Mon, 10 May 2021 09:08:47 +0200

 --ljmpnptdo7w5ubpu
 Content-Type: text/plain; charset=utf-8
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Mon, 2021-05-10 07:18:02 +1000, matthew green <mrg%eterna.com.au@localhost> wrote:
 > >   Oh and now it's verified: I don't export HAVE_GCC=3D3D10 anywhere.
 > > (Though the initial GCC was a "gcc (Debian 10.2.1-6) 10.2.1 20210110",
 > > which is now the system GCC and not the more recent one from the
 > > "gcc-snapshot" DEB (which'd identify as "gcc (Debian 20210320-1)
 > > 11.0.1 20210320 (experimental) [master revision
 > > 3279a9a5a9a:6526c452d22:5f256a70a05fcfc5a1caf56678ceb12b4f87f781]").)
 >=20
 > as you previously said, the host compiler _should not_ affect
 > what is being built for the target sun2.
 >=20
 > just to confirm that this isn't happening, running this will
 > tell you what target GCC is being used:
 >=20
 >    /var/lib/laminar/run/netbsd-sun2-m68000/nn/obj/tooldir.Linux-5.9.0-2-a=
 md64-x86_64/bin/m68010--netbsdelf-gcc -v
 >=20
 > (at least, i think that is your path.)
 
 First run done (manually, in a Debian "buster" Docker container),
 succeeded for "tools" and "release", with this GCC:
 
 (debian:buster)root@toolchaintest-host:~/xxx/NetBSD-src# ../obj/tooldir.Lin=
 ux-5.9.0-2-amd64-x86_64/bin/m68010--netbsdelf-gcc -v
 Using built-in specs.
 COLLECT_GCC=3D../obj/tooldir.Linux-5.9.0-2-amd64-x86_64/bin/m68010--netbsde=
 lf-gcc
 COLLECT_LTO_WRAPPER=3D/root/xxx/obj/tooldir.Linux-5.9.0-2-amd64-x86_64/bin/=
 =2E./libexec/gcc/m68010--netbsdelf/9.3.0/lto-wrapper
 Target: m68010--netbsdelf
 Configured with: /root/xxx/NetBSD-src/tools/gcc/../../external/gpl3/gcc.old=
 /dist/configure --target=3Dm68010--netbsdelf --enable-long-long --enable-th=
 reads --with-bugurl=3Dhttp://www.NetBSD.org/support/send-pr.html --with-pkg=
 version=3D'NetBSD nb1 20200907' --with-system-zlib --without-isl --enable-_=
 _cxa_atexit --enable-libstdcxx-time=3Drt --enable-libstdcxx-threads --with-=
 diagnostics-color=3Dauto-if-env --with-default-libstdcxx-abi=3Dnew --with-s=
 ysroot=3D/root/xxx/NetBSD-src/../obj/destdir.sun2 --with-mpc=3D/root/xxx/Ne=
 tBSD-src/../obj/tooldir.Linux-5.9.0-2-amd64-x86_64 --with-mpfr=3D/root/xxx/=
 NetBSD-src/../obj/tooldir.Linux-5.9.0-2-amd64-x86_64 --with-gmp=3D/root/xxx=
 /NetBSD-src/../obj/tooldir.Linux-5.9.0-2-amd64-x86_64 --disable-nls --disab=
 le-multilib --program-transform-name=3D's,^,m68010--netbsdelf-,' --enable-l=
 anguages=3D'c c++ objc' --prefix=3D/root/xxx/NetBSD-src/../obj/tooldir.Linu=
 x-5.9.0-2-amd64-x86_64 --disable-shared
 Thread model: posix
 gcc version 9.3.0 (NetBSD nb1 20200907)=20
 
 
 Just FTR, this is how I did it:
 
 docker run      --env SSH_AUTH_SOCK=3D/ssh-agent                          \
                 --net=3Dhost                                              \
                 --volume "${SSH_AUTH_SOCK}:/ssh-agent"                  \
                 --volume "/tmp:/tmp-host"                               \
                 --volume "/tmp/.X11-unix:/tmp/.X11-unix"                \
                 --volume "/tmp/.X11-unix:/tmp/.X11-unix"                \
                 --volume "${HOME}/.Xauthority:/root/.Xauthority"        \
                 --volume "${HOME}:/home-host"                           \
                 --volume /var/cache/git:/varcachegit                    \
                 --cap-add=3DSYS_PTRACE                                    \
                 --security-opt=3Dapparmor:unconfined                      \
                 --security-opt seccomp=3Dunconfined                       \
                 -h "`hostname`"                                         \
                 --interactive                                           \
                 --tty                                                   \
                 debian:buster
 
 rm /etc/apt/apt.conf.d/docker-*
 apt-get update
 apt-get install gcc g++ make zlib1g-dev
 apt-get install git less vim
 
 mkdir xxx
 cd xxx
 git clone --shared /varcachegit/NetBSD-src
 cd NetBSD-src
 mkdir ../obj
 =2E/build.sh -U    -O "`pwd`/../obj" -m sun2 -a m68000 tools
 =2E/build.sh -U -u -O "`pwd`/../obj" -m sun2 -a m68000 release
 
 
 Will now start a "bullseye"-based run. Just as a note of amazement,
 I'd like to notice how self-contained the NetBSD build is and how
 minimal (gcc, g++, zlib1g-dev and possibly make) the external
 dependencies are.
 
 MfG, JBG
 
 --=20
 
 --ljmpnptdo7w5ubpu
 Content-Type: application/pgp-signature; name="signature.asc"
 
 -----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQQlDTvPcScNjKREqWEdvV51g5nhuwUCYJjb/AAKCRAdvV51g5nh
 u4s4AJ9srZroqa57XeRlqxc6GieY18nIjQCeL3aSIvFmqGWRbv7U8f5fbPBAUp4=
 =+xqd
 -----END PGP SIGNATURE-----
 
 --ljmpnptdo7w5ubpu--
 


Home | Main Index | Thread Index | Old Index