[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 252919] Bogus error about invalid Mach-O file for i386 files on
From:       Daniel Dunbar <daniel () zuster ! org>
Date:       2010-10-01 2:24:53
Message-ID: 20101001022453.4BF876ECA1 () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=252919





--- Comment #1 from Daniel Dunbar <daniel zuster org>  2010-10-01 04:24:52 ---
Ah, I see what is happening here, this is because I had a .dSYM file in the
current directory for a different arch. Here is a more complete test scenario:
--
ddunbar@ozzy:foo$ echo "int main() { return 0; }" > t.c
ddunbar@ozzy:foo$ gcc -g -m64 t.c
ddunbar@ozzy:foo$ gcc -m32 t.c && valgrind -q ./a.out
--82441-- WARNING: Serious error when reading debug info
--82441-- When reading debug info from ./a.out:
--82441-- Invalid Mach-O file (bad magic).
--82441-- WARNING: Serious error when reading debug info
--82441-- When reading debug info from ./a.out:
--82441-- Error reading Mach-O object.
ddunbar@ozzy:foo$ 
--

The error message makes more sense now, but it would be nice if it would either
mention that the .dSYM file is what is out of date, or simply ignore it if the
archs don't match.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic