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

Re: sysroot not supported in gcc-sh4-cross package



Hector,

I download the latest gcc-4.4 and binutils again. Follow below build
parameters, the --sysroot fail is solved.
------------
export GCC_TARGET=$ARCH
DEB_CROSS=yes debian/rules control
DEB_CROSS_NO_BIARCH=yes DEB_CROSS=yes DEB_CROSS_INDEPENDENT=yes
WITH_SYSROOT=/ dpkg-buildpackage -us -uc -rfakeroot -b > ../gcc.build 2>&1
|| echo 'Build error'
------------
However, permission deny problem is occurred
http://old.nabble.com/file/p28350898/buildroot.build buildroot.build .
-----------
cp: cannot open `//etc/group-' for reading: Permission denied
cp: cannot open `//etc/apt/secring.gpg' for reading: Permission denied
cp: cannot open `//etc/apt/trustdb.gpg' for reading: Permission denied
cp: cannot open `//etc/X11/Xwrapper.config' for reading: Permission denied
cp: cannot open `//etc/ufw/after.rules' for reading: Permission denied
cp: cannot open `//etc/ufw/before6.rules' for reading: Permission denied
cp: cannot open `//etc/ufw/before.rules' for reading: Permission denied
cp: cannot open `//etc/ufw/after6.rules' for reading: Permission denied
------------

The same buildroot (v2010.02) can build default i386 rootfs w/o any
problems. Is there any bug issue in sh4 case?

Regards
Jordan

http://old.nabble.com/file/p28350898/crosstool.sh crosstool.sh 

Hector Oron wrote:
> 
> Jordan,
> 
> Be aware of http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578613
> Later dpkg on Debian/unstable breaks dpkg-cross, I do not know status
> on Ubuntu (it would be nice to know), but be aware of the versions you
> use.
> 
> -- 
>  Héctor Orón
> 
> "Our Sun unleashes tremendous flares expelling hot gas into the Solar
> System, which one day will disconnect us."
> 
> 
> --
> To UNSUBSCRIBE, email to debian-superh-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> Archive:
> [🔎] l2wdd0a3d701004210422ic11cd2eax380e5af709e2c7d7@mail.gmail.com">http://lists.debian.org/[🔎] l2wdd0a3d701004210422ic11cd2eax380e5af709e2c7d7@mail.gmail.com
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/sysroot-not-supported-in-gcc-sh4-cross-package-tp28280677p28350898.html
Sent from the debian-superh mailing list archive at Nabble.com.


Reply to: