Re: Build failed in Hudson: 3.HEAD-amd64-CentOS-5.3 #404

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 17 Mar 2010 03:26:22 +0000

On Wed, 17 Mar 2010 03:03:29 +0100, Henrik Nordström
<henrik_at_henriknordstrom.net> wrote:
> tis 2010-03-16 klockan 01:15 +0100 skrev noc_at_squid-cache.org:
>> /bin/sh ../libtool --tag=CXX --mode=link g++ -Wall -Wpointer-arith
>> -Wwrite-strings -Wcomments -Werror -g -pipe -g -o squid AclRegs.o
>> AuthReg.o AsyncEngine.o cache_cf.o ProtoPort.o CacheDigest.o
>> cache_manager.o carp.o cbdata.o ChunkedCodingParser.o client_db.o
>> client_side.o client_side_reply.o client_side_request.o BodyPipe.o
>> clientStream.o CompletionDispatcher.o comm_select.o comm_select_win32.o
>> comm_poll.o comm_epoll.o comm_kqueue.o ConfigOption.o ConfigParser.o
>> debug.o disk.o DiskIO/DiskIOModule.o DiskIO/ReadRequest.o
>> DiskIO/WriteRequest.o dlink.o dns.o DnsLookupDetails.o errorpage.o
ETag.o
>> event.o EventLoop.o external_acl.o ExternalACLEntry.o fd.o fde.o
>> filemap.o forward.o fqdncache.o ftp.o gopher.o helper.o
>> HelperChildConfig.o htcp.o http.o HttpStatusLine.o HttpHdrCc.o
>> HttpHdrRange.o HttpHdrSc.o HttpHdrScTarget.o HttpHdrContRange.o
>> HttpHeader.o HttpHeaderTools.o HttpBody.o HttpMsg.o HttpReply.o
>> HttpRequest.o HttpRequestMethod.o icp_v2.o icp_v3.o int.o internal.o
>> ipc.o ipcache.o list.o main.o mem.o mem_node.o MemBuf.o MemObject.o
>> mime.o mime_header.o multicast.o neighbors.o Packer.o Parsing.o
pconn.o
>> peer_digest.o peer_proxy_negotiate_auth.o peer_select.o
peer_sourcehash.o
>> peer_userhash.o redirect.o referer.o refresh.o RemovalPolicy.o
>> send-announce.o SquidMath.o SquidNew.o stat.o StatHist.o String.o
>> stmem.o store.o StoreFileSystem.o store_io.o StoreIOState.o
>> store_client.o store_digest.o store_dir.o store_key_md5.o store_log.o
>> store_rebuild.o store_swapin.o store_swapmeta.o store_swapout.o
>> StoreMeta.o StoreMetaMD5.o StoreMetaSTD.o StoreMetaSTDLFS.o
>> StoreMetaUnpacker.o StoreMetaURL.o StoreMetaVary.o StoreSwapLogData.o
>> Server.o SwapDir.o time.o tools.o tunnel.o url.o URLScheme.o urn.o
>> useragent.o wccp.o wccp2.o whois.o wordlist.o
>> DiskIO/DiskIOModules_gen.o err_type.o globals.o hier_code.o
icp_opcode.o
>> lookup_t.o repl_modules.o swap_log_op.o base/libbase.la libsquid.la
>> auth/libacls.la ident/libident.la acl/libacls.la eui/libeui.la
>> acl/libstate.la auth/libauth.la acl/libapi.la ip/libip.la fs/libfs.la
>> comm/libcomm-listener.la eui/libeui.la icmp/libicmp.la
>> icmp/libicmp-core.la log/liblog.la repl/liblru.a -lcrypt
-L../lib
>> -lmiscutil ../compat/libcompat.la -lm -lnsl
>> g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -g -pipe
-g
>> -o squid AclRegs.o AuthReg.o AsyncEngine.o cache_cf.o ProtoPort.o
>> CacheDigest.o cache_manager.o carp.o cbdata.o ChunkedCodingParser.o
>> client_db.o client_side.o client_side_reply.o client_side_request.o
>> BodyPipe.o clientStream.o CompletionDispatcher.o comm_select.o
>> comm_select_win32.o comm_poll.o comm_epoll.o comm_kqueue.o
ConfigOption.o
>> ConfigParser.o debug.o disk.o DiskIO/DiskIOModule.o
DiskIO/ReadRequest.o
>> DiskIO/WriteRequest.o dlink.o dns.o DnsLookupDetails.o errorpage.o
ETag.o
>> event.o EventLoop.o external_acl.o ExternalACLEntry.o fd.o fde.o
>> filemap.o forward.o fqdncache.o ftp.o gopher.o helper.o
>> HelperChildConfig.o htcp.o http.o HttpStatusLine.o HttpHdrCc.o
>> HttpHdrRange.o HttpHdrSc.o HttpHdrScTarget.o HttpHdrContRange.o
>> HttpHeader.o HttpHeaderTools.o HttpBody.o HttpMsg.o HttpReply.o
>> HttpRequest.o HttpRequestMethod.o icp_v2.o icp_v3.o int.o internal.o
>> ipc.o ipcache.o list.o main.o mem.o mem_node.o MemBuf.o MemObject.o
>> mime.o mime_header.o multicast.o neighbors.o Packer.o Parsing.o pconn.o
>> peer_digest.o peer_proxy_negotiate_auth.o peer_select.o
peer_sourcehash.o
>> peer_userhash.o redirect.o referer.o refresh.o RemovalPolicy.o
>> send-announce.o SquidMath.o SquidNew.o stat.o StatHist.o String.o
stmem.o
>> store.o StoreFileSystem.o store_io.o StoreIOState.o store_client.o
>> store_digest.o store_dir.o store_key_md5.o store_log.o store_rebuild.o
>> store_swapin.o store_swapmeta.o store_swapout.o StoreMeta.o
>> StoreMetaMD5.o StoreMetaSTD.o StoreMetaSTDLFS.o StoreMetaUnpacker.o
>> StoreMetaURL.o StoreMetaVary.o StoreSwapLogData.o Server.o SwapDir.o
>> time.o tools.o tunnel.o url.o URLScheme.o urn.o useragent.o wccp.o
>> wccp2.o whois.o wordlist.o DiskIO/DiskIOModules_gen.o err_type.o
>> globals.o hier_code.o icp_opcode.o lookup_t.o repl_modules.o
>> swap_log_op.o base/.libs/libbase.a ./.libs/libsquid.a
>> auth/.libs/libacls.a ident/.libs/libident.a acl/.libs/libacls.a
>> acl/.libs/libstate.a auth/.libs/libauth.a acl/.libs/libapi.a
>> ip/.libs/libip.a fs/.libs/libfs.a comm/.libs/libcomm-listener.a
>> eui/.libs/libeui.a icmp/.libs/libicmp.a icmp/.libs/libicmp-core.a
>> log/.libs/liblog.a repl/liblru.a -lcrypt
>>
-L<http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-01-minimal/squid-3.HEAD-BZR/_build/lib>
>> -lmiscutil ../compat/.libs/libcompat.a -lm -lnsl
>> g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -g -pipe
-g
>> -o dnsserver dnsserver.o SquidNew.o test_tools.o time.o
>> base/.libs/libbase.a ./.libs/libsquid.a auth/.libs/libacls.a
>> ident/.libs/libident.a acl/.libs/libacls.a eui/.libs/libeui.a
>> acl/.libs/libstate.a auth/.libs/libauth.a acl/.libs/libapi.a
>> ip/.libs/libip.a fs/.libs/libfs.a
>>
-L<http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-01-minimal/squid-3.HEAD-BZR/_build/lib>
>> -lmiscutil -lm -lnsl
>> test_tools.o: In function `operator delete[](void*)':
>>
<http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-01-minimal/squid-3.HEAD-BZR/_build/src/../../include/SquidNew.h>:59:
>> multiple definition of `operator delete[](void*)''
>>
SquidNew.o:<http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-01-minimal/squid-3.HEAD-BZR/_build/src/../../include/SquidNew.h>:59:
>> first defined here
>
> Odd.. seems to build fine when I test manually. But I guess it should
> not as I see now that test_tools.o is also overloading the SquidNew
> defined operators in the exact same way as SquidNew.cc.
>

Since we are working on this. Is new/delete operators not something that
should be in src/base libbase anyway?
If shuffling it makes things go better we should do that ASAP.

Amos
Received on Wed Mar 17 2010 - 03:26:26 MDT

This archive was generated by hypermail 2.2.0 : Thu Mar 18 2010 - 12:00:07 MDT