On 3/4/10, Seth G <seth.goldb...@sun.com> wrote: > Hi, > > I just sent a fair amount of time trying to figure out problems > with the qemu build and resulting binary. The first problem (which > is no longer a problem due to the shell OpenSolaris uses) was that > `sh' was used in rules.mak to perform commands -- I had a /bin/sh > that was not bash-compatible. That's a minor problem. The
Please report the errors so that we can fix the bashisms. > more-serious problem was that once qemu was built, it would die almost > immediately, complaining about smbus-eeprom not being an I2C device. > That problem appears to be due to an issue with gcc's use of the > Solaris native linker (/usr/ccs/bin/ld) -- the linker is not including > all .o's in the .a's, even though the --whole-archive switch was passed > to it. The linker team is looking into that problem right now, but in > the meantime, manually performing the link step by specifying all the > required .o's yields a usable qemu executable. --whole-archive is no longer used since 0e8c9214ba1d4128cf92442cd343bc3733478261.