Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2013 22:15:40 -0600
From:      dfc@warpmail.net
To:        chromium@FreeBSD.org
Subject:   Build failure on i386 freebsd 9.0
Message-ID:  <1361679340.8719.140661195962441.7FEA9A71@webmail.messagingengine.com>

next in thread | raw e-mail | index | archive | help
Hi,
I've tried to build with both clang and gcc4.6.3.
 
 LINK(host) out/Release/protoc
out/Release/obj.host/protoc/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.o:
In function
`google::protobuf::compiler::CommandLineInterface::MemoryOutputStream::~MemoryOutputStream()':
command_line_interface.cc:(.text._ZN6google8protobuf8compiler20CommandLineInterface18MemoryOutputStreamD2Ev+0xe6d):
undefined reference to `__stack_chk_fail_local'
out/Release/obj.host/protoc/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.o:
In function
`google::protobuf::compiler::CommandLineInterface::GeneratePluginOutput(std::vector<google::protobuf::FileDescriptor
const*, std::allocator<google::protobuf::FileDescriptor const*> >
const&, std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
google::protobuf::compiler::GeneratorContext*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >*)':
command_line_interface.cc:(.text._ZN6google8protobuf8compiler20CommandLineInterface20GeneratePluginOutputERKSt6vectorIPKNS0_14FileDescriptorESaIS6_EERKSsSC_PNS1_16GeneratorContextEPSs+0x8e6):
undefined reference to `__stack_chk_fail_local'
out/Release/obj.host/protoc/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.o:
In function
`google::protobuf::compiler::cpp::FilenameIdentifier(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
cpp_helpers.cc:(.text._ZN6google8protobuf8compiler3cpp18FilenameIdentifierERKSs+0x184):
undefined reference to `__stack_chk_fail_local'
out/Release/obj.host/protoc/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.o:
In function `.L487':
cpp_helpers.cc:(.text._ZN6google8protobuf8compiler3cpp12DefaultValueEPKNS0_15FieldDescriptorE+0x949):
undefined reference to `__stack_chk_fail_local'
out/Release/obj.host/third_party/protobuf/../../protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/descriptor.o:
In function
`google::protobuf::DescriptorBuilder::BuildExtensionRange(google::protobuf::DescriptorProto_ExtensionRange
const&, google::protobuf::Descriptor const*,
google::protobuf::Descriptor::ExtensionRange*)':
descriptor.cc:(.text._ZN6google8protobuf17DescriptorBuilder19BuildExtensionRangeERKNS0_30DescriptorProto_ExtensionRangeEPKNS0_10DescriptorEPNS5_14ExtensionRangeE+0x32a):
undefined reference to `__stack_chk_fail_local'
out/Release/obj.host/third_party/protobuf/../../protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/descriptor.o:descriptor.cc:(.text._ZN6google8protobuf12_GLOBAL__N_117FormatLineOptionsEiRKNS0_7MessageEPSs+0x2df):
more undefined references to `__stack_chk_fail_local' follow
/usr/local/bin/ld: out/Release/protoc: hidden symbol
`__stack_chk_fail_local' isn't defined
/usr/local/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
gmake: *** [out/Release/protoc] Error 1
*** Error code 1

Stop in /usr/ports/www/chromium.
*** Error code 1

Stop in /usr/ports/www/chromium.

===>>> make failed for www/chromium
===>>> Aborting update

Terminated



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1361679340.8719.140661195962441.7FEA9A71>