On Wed, Feb 4, 2009 at 2:58 PM, Adam Langley <a...@chromium.org> wrote:
>
> If you've ever tried running strace on our binaries, you've probably
> noticed the Ubuntu version messes up a lot because it cannot decode
> the 32-bit structures correctly. For example:
>  [pid 21205] <... recvmsg resumed> {msg_name(-11664)=NULL,
> msg_iov(18446693667973365760)=0x8254b28,
> msg_controllen=6158080064115183616, msg_control=0x8253b2808253b3c,
> msg_flags=MSG_DONTROUTE|MSG_PROXY}, MSG_DONTWAIT) = 0
>
> In order to fix this, you can build a 32-bit version of strace for
> tracing chrome binaries.
>
> 1) Grab the latest source from
> http://sourceforge.net/project/platformdownload.php?group_id=2861
> 2) Unpack it somewhere
> 3) % export CC="gcc -m32"
> 4) ./configure --host=i686-unknown-linux-gnu
> 5) make -j4
> 6) copy the resulting ./strace binary as ~/bin/strace-chrome etc

Can you add this to the build page or some Linux environment setup page?

Brett

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to