ld: symbol(s) not found for architecture x86_64

I normally build Thunderbird and Firefox with osxspell instead of
hunspell and since a few month with clang trunk. This has worked quite
nice until 15. April. Than I've decided to switch from mozilla-2.0 to
mozilla-aurora. I've applied all missing clang patches to the mozilla
repo. Since I've switched it doesn't build anymore. I've also tried
with mozilla-central and switched back to mozilla-2.0. But it doesn't
build anymore. I have no idea why. The only thing I've also did in
this timeframe is, I've updated from Xcode 4.0.1 to 4.0.2.

Normally it should say:

clang: warning: argument unused during compilation: '-pthread'
ld: warning: ignoring file /Developer/SDKs/MacOSX10.6.sdk/System/
Library/Frameworks//QuickTime.framework/QuickTime, missing required
architecture x86_64 in file
ld: warning: could not create compact unwind for _ffi_call_unix64:
does not use RBP or RSP based frame
chmod +x XUL
strip -x -S XUL
/Developer/temp/src/obj-x86_64-apple-darwin10.7.0/mozilla/config/
nsinstall -L /Developer/temp/src/obj-x86_64-apple-darwin10.7.0/mozilla/
toolkit/library -m 755 XUL ../../dist/lib

But now it stops everytime with:

clang: warning: argument unused during compilation: '-pthread'
ld: warning: ignoring file /Developer/SDKs/MacOSX10.6.sdk/System/
Library/Frameworks//QuickTime.framework/QuickTime, missing required
architecture x86_64 in file
ld: warning: could not create compact unwind for _ffi_call_unix64:
does not use RBP or RSP based frame
Undefined symbols for architecture x86_64:
  "mozOSXSpell::LoadDictionariesFromDir(nsIFile*)", referenced from:
      vtable for mozOSXSpell in mozOSXSpell.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[5]: *** [XUL] Error 1
make[4]: *** [libs_tier_platform] Error 2
make[3]: *** [tier_platform] Error 2
make[2]: *** [default] Error 2
make[1]: *** [default] Error 2
make: *** [build] Error 2


I can only fix this if I build with hunspell. But osxspell was never a
problem, so I don't understand why this doesn't work anymore.
0
Nomis101
4/22/2011 11:42:12 AM
mozilla.dev.builds 1761 articles. 0 followers. Post Follow

6 Replies
3990 Views

Similar Articles

[PageSpeed] 19
Get it on Google Play
Get it on Apple App Store

OK, this has nothing to do with Clang, I get the same error with
gcc-4.2:



ld: warning: ignoring file /Developer/SDKs/MacOSX10.6.sdk/System/
Library/Frameworks//QuickTime.framework/QuickTime, missing required
architecture x86_64 in file
ld: warning: could not create compact unwind for _ffi_call_unix64:
does not use RBP or RSP based frame
Undefined symbols for architecture x86_64:
  "mozOSXSpell::LoadDictionariesFromDir(nsIFile*)", referenced from:
      vtable for mozOSXSpellin mozOSXSpell.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[5]: *** [XUL] Error 1
make[4]: *** [libs_tier_platform] Error 2
make[3]: *** [tier_platform] Error 2
make[2]: *** [default] Error 2
make[1]: *** [default] Error 2
make: *** [build] Error 2
0
Nomis101
4/22/2011 8:28:59 PM
OK, this has nothing to do with Clang, I get the same error with
gcc-4.2:


ld: warning: ignoring file /Developer/SDKs/MacOSX10.6.sdk/System/
Library/Frameworks//QuickTime.framework/QuickTime, missing required
architecture x86_64 in file
ld: warning: could not create compact unwind for _ffi_call_unix64:
does not use RBP or RSP based frame
Undefined symbols for architecture x86_64:
  "mozOSXSpell::LoadDictionariesFromDir(nsIFile*)", referenced from:
      vtable for mozOSXSpellin mozOSXSpell.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[5]: *** [XUL] Error 1
make[4]: *** [libs_tier_platform] Error 2
make[3]: *** [tier_platform] Error 2
make[2]: *** [default] Error 2
make[1]: *** [default] Error 2
make: *** [build] Error 2
0
Nomis101
4/22/2011 8:29:19 PM
On 22/04/2011 21:29, Nomis101 wrote:
> Undefined symbols for architecture x86_64:
>    "mozOSXSpell::LoadDictionariesFromDir(nsIFile*)", referenced from:
>        vtable for mozOSXSpellin mozOSXSpell.o
> ld: symbol(s) not found for architecture x86_64

Are you doing just a 64-bit build or a 32/64 bit universal?

If you're doing a universal build, then you may need to port this hack 
to your .mozconfig: 
http://hg.mozilla.org/build/buildbot-configs/rev/f1ac18c0cfe1

It basically comes down to an issue in the revised mozconfig.common 
which is difficult to resolve, until we switch the way our build system 
works.

Standard8
0
Mark
4/22/2011 9:51:22 PM
On 22 Apr., 23:51, Mark Banner <bugzi...@invalid.standard8.plus.com>
wrote:
> On 22/04/2011 21:29, Nomis101 wrote:
>
> > Undefined symbols for architecture x86_64:
> > =A0 =A0"mozOSXSpell::LoadDictionariesFromDir(nsIFile*)", referenced fro=
m:
> > =A0 =A0 =A0 =A0vtable for mozOSXSpellin mozOSXSpell.o
> > ld: symbol(s) not found for architecture x86_64
>
> Are you doing just a 64-bit build or a 32/64 bit universal?

It's a 64bit-only build.

Now I've downloaded mozilla-aurora fresh, I've only enabled osxspell
and build FF with a very basic mozconfig. I get the same error. So it
isn't anything that has to do with Thunderbird, it isn't one of the
additional patches and it has nothing to do with Clang. It could be,
that there was a checkin after 14. April that breaked it or it has to
do with updating Xcode 4.0.1 to 4.0.2. Or anything else?

0
Nomis101
4/22/2011 11:38:37 PM
OK, I'm near to a solution. It has to do with a change that is in
mozilla-aurora, but not in mozilla-2.0. And it is a change in /mozilla/
extensions/spellcheck. But there are a lot of differences.
0
Nomis101
4/23/2011 3:21:58 PM
I found what the problem is, see Bug 652364.
0
Nomis101
4/23/2011 9:34:02 PM
Reply:

Similar Artilces:

Mac build firefox os error: symbol(s) not found for architecture i386
I have trouble when I first build my firefox os source code using Mac. Coul= d anyone help me figure out what is the problem. Thanks.This is the error m= essage: including sdk/bash_completion/adb.bash =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D PLATFORM_VERSION_CODENAME=3DAOSP PLATFORM_VERSION=3D4.0.4.0.4.0.4 TARGET_PRODUCT=3Dfull TARGET_BUILD_VARIANT=3Deng TARGET_BUILD_TYPE=3Drelease TARGET_BUILD_APPS=3D TARGET_ARCH=3Darm TARGET_ARCH_VARIANT=3Darmv7-a HOST_ARCH=3Dx86 HOST_OS=3Ddarwin ...

"ld: symbol(s) not found" when building JSS on MacOS 10.5
Hello, I'm searching for help in building JSS for MacOS X 10.5. I've successfully built NSS 3.12, with MOZ_DEBUG_SYMBOLS set or not, but always get a "ld: symbol(s) not found" whenever I try to build JSS, as shown below. Any clues ? :-) TIA, Georges Martin $ make nss_build_all perl build_java.pl "SOURCE_PREFIX=../../dist" "SOURCE_RELEASE_PREFIX=../../dist/release/no-policy" "SOURCE_RELEASE_CLASSES_DBG_DIR=classes_DBG" "SOURCE_RELEASE_CLASSES_DIR=classes" "XPCLASS_DBG_JAR=xpclass_dbg.jar" "XPC...

ld.so.1: output_ubs_prepf: fatal: relocation error: file /sbcimp/run/pkgs/WMI/utopia/calc/ubs/sod/bin/output_ubs_prepf: symbol cs_ctx_global: referenced symbol not found
Any clue ? It looks like LD_LIBRARY_PATH is OK Regards, Eugene On Tue, 11 Aug 2009 12:35:47 -0700, Eugene wrote: > Any clue ? > It looks like LD_LIBRARY_PATH is OK If you're on solaris or linux, try ldd output_ubs_prepf to see which libraries are linked into the binary. Michael Hello, Is this an ESQL/C or ESQL/Cobol program? Regards, Neal > core> ldd -d output_ubs_prepf > libsybdb.so => /opt/sybase/OCS-12_5/lib/libsybdb.so > libct.so => /opt/sybase/OCS-12_5/lib/libct.so > libc.so.1 => /lib/l...

ld: file not found: /usr/lib/system/libnotify.dylib for architecture armv
When deploying my first app in xe4 in debug mode to an real device i get this error the app runs on the simulator ld: file not found: /usr/lib/system/libnotify.dylib for architecture armv7 how to solve? > {quote:title=Rene Pijnacker wrote:}{quote} > When deploying my first app in xe4 in debug mode to an real device i get this error > the app runs on the simulator > > ld: file not found: /usr/lib/system/libnotify.dylib for architecture armv7 > > how to solve? Figured it out. It's about xcode tools and have had multiple xcode versions on apple ...

Cannot build symbol table
There have been a few similar posts, but this seems, to me, to be altogether different since this error is affecting my system quite adversely. Many important functions fail after an update from the openSuSE repositories (3rd time in as many days) and I have to reinstall the system from scratch. This most recent time, I disabled all experimental repos, in an attempt to prevent this from occurring again, but it happened nonetheless. The main things that I have noticed are failing: alsa and networkmanager (oddly I can still use ifup). This, which I've read about for other i...

Failure to build B2G from build.sh for nexus S
Hi there, I'm trying to build b2g for my nexus S, I followed the mozilla wiki. the git cloning went well, when i run ./config.sh I can see the nexus S option. But when I type ./config.sh/ nexus-s I get an error message : [me@arch B2G]$ ./config.sh nexus-s Traceback (most recent call last): File "./repo", line 738, in <module> main(sys.argv[1:]) File "./repo", line 705, in main _Init(args) File "./repo", line 234, in _Init _CheckGitVersion() File "./repo", line 274, in _CheckGitVersion if not ver_...

VS Builds, and Builds, and Builds
Hello, Has anyone else had this problem?  After a while of developing, and I go to compile, VS takes forever to build and I have to end-task it.  It's definitely after I've been working for a while, then it finally has "had it" and just takes forever to build.  It's annoying as I know its not the machine (2.8 GHZ processor and 1GB RAM).  Has anyone else experienced this problem?  By the way, I do have SP1 installed. Also, after minimizing and switching around screens, when it does this, the building icon in the status bar doesn't show.  And, for more informati...

superreview granted: [Bug 258804] It tries to build Dogbert for BeOS and it's not needed : [Attachment 158497] changes to doesn't build dogbert in a BeOS build
Scott MacGregor <mscott@mozilla.org> has granted timeless@myrealbox.com (working) <timeless@bemail.org>'s request for superreview: Bug 258804: It tries to build Dogbert for BeOS and it's not needed https://bugzilla.mozilla.org/show_bug.cgi?id=258804 Attachment 158497: changes to doesn't build dogbert in a BeOS build https://bugzilla.mozilla.org/attachment.cgi?id=158497&action=edit ...

superreview requested: [Bug 258804] It tries to build Dogbert for BeOS and it's not needed : [Attachment 158497] changes to doesn't build dogbert in a BeOS build
Sergei Dolgov <sergei_d@fi.tartu.ee> has asked timeless@myrealbox.com (working) <timeless@bemail.org> for superreview: Bug 258804: It tries to build Dogbert for BeOS and it's not needed https://bugzilla.mozilla.org/show_bug.cgi?id=258804 Attachment 158497: changes to doesn't build dogbert in a BeOS build https://bugzilla.mozilla.org/attachment.cgi?id=158497&action=edit ------- Additional Comments from Sergei Dolgov <sergei_d@fi.tartu.ee> timeless, are you allowed to sr Thunderbird BeOS bugs? (also need someone for checkin) ...

superreview requested: [Bug 258804] It tries to build Dogbert for BeOS and it's not needed : [Attachment 158497] changes to doesn't build dogbert in a BeOS build #2
timeless@myrealbox.com (working) <timeless@bemail.org> has asked Scott MacGregor <mscott@mozilla.org> for superreview: Bug 258804: It tries to build Dogbert for BeOS and it's not needed https://bugzilla.mozilla.org/show_bug.cgi?id=258804 Attachment 158497: changes to doesn't build dogbert in a BeOS build https://bugzilla.mozilla.org/attachment.cgi?id=158497&action=edit ...

Pre-Build and Post-Build Events... what's wrong?
on, I create a console application, that just change the .dproj contents about versions... I put into bin directory of Delphi... I add a pre-build event: $(BDS)\Bin\AutoVersionControl.exe $(PROJECTPATH) but I get a 9009 error if I try to compile... so, whats the language used on events? is a shell? .bat? pascal? javascript? I assume that is a shell commands (cls, copy, delete, move, start or just the exe name!) AutoVersionControl is a console application, that change versions to <majorversion>.<year>.<month>.<day> (Finally, after 10 years, I can chan...

How to do dev builds
Prior to PB 8.0 I used a test.pbl to test changes before moving into production. It was placed on top of the library list for the app. Any objects were copied into this pbl and a build was completed for user testing. With 8.0, the app target needs to be checked out to modify the library list. The other developer had to copy the new test.pbl from my machine to see the changes. Any objects the other developer needs to test had to be copied to my pc where the builds are done. This is not the best way and I'm assuming someone else has come up wiht a better solution since 8....

A.S.S
Here are 1600 words and phrases banned by Pakistan for use in texting. Enjoy! https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0Bw6nfJopnFT5ZjQwODIyYzUtOWI5My00NDNlLTkyNzEtZDQyYTgyNDBhNjZk&hl=en_GB&pli=1 http://tinyurl.com/c2on9n3 James, | Here are 1600 words and phrases banned by Pakistan for use in texting. | Enjoy! That's absolutely bizarre! -- Q 11/20/2011 14:42:20 XanaNews Version 1.19.1.278 [Q'sBrokenToolBar] Quentin Correll wrote: > James, > > > Here are 1600 words and phrases banned b...

What's the plan to remove of the Makefile building system in moz.build
LS0gDQogICAgICAgICDmraToh7QNCuekvA0K572X5YuH5YiaDQpZb3Vycw0KICAgIHNpbmNlcmVs eSwNCllvbmdnYW5nIEx1bw0K ...

Web resources about - ld: symbol(s) not found for architecture x86_64 - mozilla.dev.builds

Coding the Architecture
Coding the Architecture

High-tech architecture - Wikipedia, the free encyclopedia
High-tech architecture , also known as Late Modernism or Structural Expressionism , is an architectural style that emerged in the 1970s, incorporating ...

Software Architecture for Rookies
How frequently have you encountered people who are neither coding- nor tech-savvy discussing software architecture? How frequently are they decision-makers? ...

AMD Reveals Polaris GPU Architecture: 4th Gen GCN to Arrive In Mid-2016
... for display technologies – DisplayPort, HDMI, Freesync, and HDR – and how the company would be laying the necessary groundwork in future architectures ...

AMD’s new graphics architecture is called Polaris
The rumours were true: AMD's new graphics architecture is called Polaris (it previously went under the codename Arctic Islands), it's based on ...

Rolls-Royce gets down to testing new aluminum architecture
Filed under: Spy Photos , Rolls-Royce , Luxury Rolls-Royce is testing a new aluminum architecture that's set to underpin not only its upcoming ...

Brand Architecture For Mergers And Acquisitions
... record. Reviews find that the chance of an acquisition increasing shareholder value is no better than a flip of the coin. A solid brand architecture ...

​Chicago launches its first Architecture Biennial
The city celebrates both old and new, with the latest designs of leading architects redefining space, function and community

Alejandro Aravena of Chile wins 2016 Pritzker Architecture Prize - Chicago Tribune
It&amp;rsquo;s dangerous to read too much into a single year of the Pritzker Architecture Prize, the field&amp;rsquo;s top honor. But as journalists ...

Volkswagen Switching To Flat EV Battery Architecture
... of companies such as Tesla, Nissan, and BMW. The company will reportedly be developing [&hellip Volkswagen Switching To Flat EV Battery Architecture ...

Resources last updated: 1/18/2016 5:10:13 PM