Skip navigation.
 
mlRe: Project breaks on Intel under gcc-4.0
FROM : David Hill
DATE : Sun Jun 22 18:56:39 2008

Thanks Waqar,

I dashed off a reply to Uli before I had my coffee :-)  I meant 
"Tiger" (i.e. 10.4.11) not "Panther"; and the "Leopard" on the other 
machine is 10.5.3.  I am beyond 10.3  I apologise for my coffee-less-
induced slip of the fingers/keyboard/mind.

On Jun 22, 2008, at 8:14 AM, Waqar Malik wrote:

> Which SDK are you targeting. 10.4.x is Tiger (10.3.x Panther) I am 
> assuming that you are targeting for Panther. You will have to 
> install the 10.3 sdk and gcc-3 for Xcode 3.0.


I want to use the same source and build on two different machines, 
both 10.4 or better, regardless of target.  I am confused by having 
an obscure error returned by xcode on Machine B when the build works 
just fine on machine A. I need a pointer to what it is I need to 
pursue, especially as I have only just started to get serious about 
Intel architecture and 10.5.x  Why would the source code build and 
run on Machine A yet give an error on Machine B?

d.

>
> --Waqar
> On Jun 22, 2008, at 10:07 AM, David Hill wrote:
>

>> Uli -- thanks for responding.
>>
>> On Jun 22, 2008, at 2:52 AM, Uli Kusterer wrote:
>>

>>> Am 22.06.2008 um 02:25 schrieb David Hill:

>>>> I get a "Duplicate Symbol" error at the link stage, between two 
>>>> of my .o files -- a different symbol depending on whether I 
>>>> compile for "Release" or "Debug" ("_flag" or "_verbose" 
>>>> respectively).  It is the same error on the Intel machine 
>>>> whether I compile for i386 or ppc

>>>
>>>
>>> WHAT error ?
>>>

>>
>> I have two different Macintosh computers  each running OSX.
>>
>> Machine A: A Power-PC-based G5 running Panther Tiger 10.4.11, with 
>> xcode version 2.4.1 which uses gcc-3.3
>>
>> Machine B: An Intel CoreDuo-based iMac running Leopard 10.5.3, 
>> with xcode version 3.0 which uses gcc-4.0
>>
>> On Machine A I compile my application and it builds with no 
>> errors, and then runs correctly.
>>
>> On Machine B, during the build, xcode returns a "Duplicate Symbol" 
>> error (i.e. the same symbol in two different .o files) during the 
>> link stage
>>
>> The duplicate symbol name identified by xcode on Machine B differs 
>> depending on whether I build for "Release" (symbol name claimed is 
>> "_flag") or for "Debug" (the duplicate symbol name claimed is 
>> "_verbose").
>>
>> I do not use either of these symbol names in my code so they must 
>> have been generated during the build.  I do not understand what is 
>> going on here and would value some suggestions as to how to find 
>> and/or eliminate the error.
>>
>> david
>> --------
>> David Hill
>> <email_removed>
>> http://savannah.gnu.org/projects/gnuspeech

>

Related mailsAuthorDate
mlProject breaks on Intel under gcc-4.0 David Hill Jun 22, 02:25
mlRe: Project breaks on Intel under gcc-4.0 Uli Kusterer Jun 22, 11:52
mlRe: Project breaks on Intel under gcc-4.0 David Hill Jun 22, 17:07
mlRe: Project breaks on Intel under gcc-4.0 Waqar Malik Jun 22, 17:14
mlRe: Project breaks on Intel under gcc-4.0 David Hill Jun 22, 18:56
mlRe: Project breaks on Intel under gcc-4.0 Uli Kusterer Jun 22, 19:20
mlRe: Project breaks on Intel under gcc-4.0 David Hill Jun 23, 02:08
mlRe: Project breaks on Intel under gcc-4.0 Uli Kusterer Jun 23, 08:37