• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Mac64 linker error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac64 linker error


  • Subject: Re: Mac64 linker error
  • From: Vojtěch Meluzín <email@hidden>
  • Date: Mon, 17 Oct 2011 17:18:22 +0200

I'm afraid not, but thanks. (how did you make such an array anyway??)
I think it must be related to some compiler options or something. I remember when porting some assembly code to Win64, there was a similar error caused by an attempt to store a 64-bit address to a register in one instruction with an offset or something. But this is pure C++...

Vojtech

2011/10/17 tahome izwah <email@hidden>
This may be a long shot, but are you using large arrays of static
data? I recall seeing this error once when I had a very large static
array ( > 2GB IIRC). Bad style anyway, but maybe this helps.

Just a guess since noone else has replied so far.
--th


2011/10/17 Vojtěch Meluzín <email@hidden>:
> Well, so that's even worse, I removed kCFTypeDictionaryValueCallBack from
> the code, but seems that most symbols are going the error:
>
>
> ld: codegen problem, can't use rel32 to external symbol xxx....
>
> Is there something needed to specify to GCC, or some defines??
>
> Thanks in advance,
> Vojtech
>
>
> Dne 16. října 2011 23:38 Vojtěch Meluzín <email@hidden>
> napsal(a):
>>
>> Hi,
>>
>> I'm trying to upgrade to Mac64, but the linker is giving me this error :
>>
>> ld: codegen problem, can't use rel32 to external symbol _
>> kCFTypeDictionaryValueCallBacks in
>> MAudioPluginAUAdapter::GetProperty(unsigned int, unsigned int, unsigned int,
>> unsigned int*, unsigned char*, void*)from !temp/DebugDebug1/MXXX/main.o
>>
>> which is only used in get property kAudioUnitProperty_ClassInfo, this
>> line:
>> CFMutableDictionaryRef pDict = CFDictionaryCreateMutable(0, 0,
>> &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks);
>>
>> What is the problem?
>>
>> Thanks,
>> Vojtech
>
>
>
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Coreaudio-api mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
>



--

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Mac64 linker error
      • From: tahome izwah <email@hidden>
References: 
 >Mac64 linker error (From: Vojtěch Meluzín <email@hidden>)
 >Re: Mac64 linker error (From: Vojtěch Meluzín <email@hidden>)
 >Re: Mac64 linker error (From: tahome izwah <email@hidden>)

  • Prev by Date: Re: Mac64 linker error
  • Next by Date: Re: Mac64 linker error
  • Previous by thread: Re: Mac64 linker error
  • Next by thread: Re: Mac64 linker error
  • Index(es):
    • Date
    • Thread