Note: There are a few cases of duplicates in user autocompletion which are being worked on.

Status

()

Firefox
Build Config
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: hub, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
When building inbound on MacOS 10.7, I get the following build failure:

Undefined symbols for architecture x86_64:
  "_moz_xmalloc", referenced from:
      google_breakpad::UTF16ToUTF8(std::vector<unsigned short, std::allocator<unsigned short> > const&, bool) in string_conversion.o
      __gnu_cxx::new_allocator<unsigned short>::allocate(unsigned long, void const*) in string_conversion.o
      __gnu_cxx::new_allocator<fat_arch>::allocate(unsigned long, void const*) in macho_reader.o
      __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::string const, google_breakpad::mach_o::Section> > >::allocate(unsigned long, void const*) in macho_reader.o
      MacStringUtils::ConvertToString(__CFString const*) in string_utilities.o
  "_moz_free", referenced from:
      google_breakpad::scoped_ptr<unsigned short>::reset(unsigned short*) in string_conversion.o
      google_breakpad::scoped_array<unsigned char>::~scoped_array() in string_conversion.o
      google_breakpad::scoped_ptr<unsigned short>::~scoped_ptr() in string_conversion.o
      __gnu_cxx::new_allocator<unsigned short>::deallocate(unsigned short*, unsigned long) in string_conversion.o
      google_breakpad::mach_o::FatReader::Reporter::~Reporter() in macho_reader.o
      google_breakpad::mach_o::Reader::Reporter::~Reporter() in macho_reader.o
      __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::string const, google_breakpad::mach_o::Section> > >::deallocate(std::_Rb_tree_node<std::pair<std::string const, google_breakpad::mach_o::Section> >*, unsigned long) in macho_reader.o
      ...
  "mozalloc_abort(char const*)", referenced from:
      std::__throw_length_error(char const*) in string_conversion.o
      std::__throw_bad_alloc() in string_conversion.o
      std::__throw_length_error(char const*) in macho_reader.o
      std::__throw_bad_alloc() in macho_reader.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


I am at changeset 963bdd1cd1d7
Fallout from something, but I don't know what.
(Reporter)

Comment 2

5 years ago
running a hg bisect now.
Probably bug 746794, already backed out for other reasons (bug 758648)

It would be interesting to know what failed to build (you only pasted the error).
Note it's backed out on m-c, not m-i (yet).
(Reporter)

Comment 5

5 years ago
(In reply to Mike Hommey [:glandium] from comment #3)
> Probably bug 746794, already backed out for other reasons (bug 758648)
> 
> It would be interesting to know what failed to build (you only pasted the
> error).

google_breakpad. The build output is somewhat confusing...

Here is the tail:

clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[5]: *** [crashreporter] Error 1
make[4]: *** [libs] Error 2
make[3]: *** [crashreporter_libs] Error 2
make[2]: *** [libs_tier_platform] Error 2
make[1]: *** [tier_platform] Error 2
make: *** [default] Error 2
So, this would be a Xcode 4.x issue, I guess, since it built fine on buildbots.
Blocks: 758010, 746794
(Reporter)

Comment 7

5 years ago
I don't have Xcode 4. But I have the Lion command line tools and this is being compiled using clang that ship with that package.
(Reporter)

Comment 8

5 years ago
The first bad revision is:
changeset:   94923:81c2e2ea2dbf
user:        Mike Hommey <mh+mozilla@glandium.org>
date:        Fri May 25 08:31:33 2012 +0200
summary:     Bug 746794 - Always use the STL wrappers when #pragma visibility is supported. r=ted


Sounds about right just reading the commit log.
(Reporter)

Comment 9

5 years ago
With the latest merge from m-c it works. As said in comment 4
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Blocks: 758858
You need to log in before you can comment on or make changes to this bug.