tech-toolchain archive

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

Re: Successful compilation of toolchain on ubuntu, but failed compilation of netbsd on ubuntu using that toolchain



On 22/08/2012, at 9:47 PM, Jorge Yee <gippal617%gmail.com@localhost> wrote:

> 4. From the errors I got during configuration phase, I did 3 things (install 
> zlib, change permission for missing.sh to executable, install g++)

That sounds like standard Ubuntu issues that all software developers have. I 
don't what missing.sh is though.

> 5. That allowed me to run "sudo ./build.sh -m i386 tools" successfully

You don't need to run sudo. NetBSD is able to build everything as an 
unprivileged user. A lot of people seem to have a script wrapper for build.sh 
that supplies their personally preferred options to build.sh. Mine always 
specifies "-U" for an unprivileged build.

> 7. After I ran "./build.sh -u -m i386 kernel=MYKERNEL", I got the following 
> error which I will continue trying to resolve tmr:
> 
> *** buffer overflow detected ***: 
> /home/jorge/netbsd/5.1.2/usr/src/tooldir.Linux-3.2.0-29-generic-pae-i686/bin/i386--netbsdelf-ar
>  terminated
> ======= Backtrace: =========
…

That looks like a problem alright. I'm copying my source tree into an Ubuntu 
12.04 VM now to see if I can see anything, but there are many people on this 
list how know a lot more about the toolchain than me.

Cheers,
Lloyd




Home | Main Index | Thread Index | Old Index