From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,RCVD_IN_SORBS_WEB, SPF_PASS autolearn=no version=3.2.5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=4/sjuyFtYkMVldr1PCwWazC0jYiQqKWZDuQtV4IUKwQ=; b=Mp8go6gCPr0EmoB9B2Cv7Ov3u6cwWCFQ93znQPwCfoJ6SH79fckr08UUweEIi6+R/X 20r6eNNa9Zz49gc6oY1Dg/aJr/Nszc27IWweZnAhHHhmNLHkPRKpFqfyHxrTUqoU1cZZ ERxbnZ77qYjYGKbQuqEh7ThcWYWbXECFXQ9kA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=VkgeP2PgQplXacCEg9NofbgcXLb2qT4/+jWQvb8bVrv8qrRpi+lvwmZssDjBf790Ep ra+rtXLid+imkJlRXs9ZwQ0c9SKhjZoSZnlKh20X5fZP2ErrHndEdyEX7bSWwA5Syrje ddWMW2pWa+u76yD+bU/BTGWHOSxvETIQmQveE= Message-ID: <4A5718EA.80704@altlinux.org> Date: Fri, 10 Jul 2009 18:33:14 +0800 From: Aelya Grevnyov User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.1pre) Gecko/20090604 Lightning/1.0pre Thunderbird/3.0b3pre MIME-Version: 1.0 To: Devel@lists.altlinux.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [devel] =?utf-8?b?0L/RgNC+0LHQu9C10LzQsCDRgSBzb25nYmlyZCDQuCAt?= =?utf-8?q?-as-needed?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jul 2009 10:33:33 -0000 Archived-At: List-Archive: List-Post: приветствую собираю songbird и не могу справиться с --as-needed с --no-as-needed оно собирается и работает (правда собирается только через gear-rpm -bb. с hasher там немного другие ошибки. подозреваю, что они тоже связаны с --as-needed) Можно это как-то победить? вот мое поделие http://git.altlinux.org/people/gray_graff/packages/?p=songbird.git вот лог ошибки: g++ -o sbDOMEventUtils.so -Wl,-rpath -Wl,/usr/lib/songbird -Wl,-z,defs -Wl,-rpath-link,/tmp/.private/gray_graff/RPM/BUILD/Songbird/compiled/dist/xulrunner -shared -L/tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib sbDOMEventWrapper.o sbDOMEventUtilsModule.o -lnspr4 -lxpcom -lxpcomglue_s /tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsComponentManagerUtils.o): In function `CallGetClassObject(char const*, nsID const&, void**)': nsComponentManagerUtils.cpp:(.text+0x5b): undefined reference to `NS_GetComponentManager' /tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsComponentManagerUtils.o): In function `CallGetClassObject(nsID const&, nsID const&, void**)': nsComponentManagerUtils.cpp:(.text+0xe8): undefined reference to `NS_GetComponentManager' /tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsComponentManagerUtils.o): In function `CallCreateInstance(char const*, nsISupports*, nsID const&, void**)': nsComponentManagerUtils.cpp:(.text+0x176): undefined reference to `NS_GetComponentManager' /tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsComponentManagerUtils.o): In function `CallCreateInstance(nsID const&, nsISupports*, nsID const&, void**)': nsComponentManagerUtils.cpp:(.text+0x20c): undefined reference to `NS_GetComponentManager' /tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsComponentManagerUtils.o): In function `CallGetService(char const*, nsID const&, void**)': nsComponentManagerUtils.cpp:(.text+0x2a2): undefined reference to `NS_GetServiceManager' /tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsComponentManagerUtils.o): In function `CallGetService(nsID const&, nsID const&, void**)': nsComponentManagerUtils.cpp:(.text+0x353): undefined reference to `NS_GetServiceManager' /tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsGenericFactory.o): In function `nsGenericModule::Release()': nsGenericFactory.cpp:(.text+0x98b): undefined reference to `PR_AtomicDecrement' /tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsGenericFactory.o): In function `nsGenericFactory::Release()': nsGenericFactory.cpp:(.text+0x9e1): undefined reference to `PR_AtomicDecrement' /tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsGenericFactory.o): In function `nsGenericModule::AddRef()': nsGenericFactory.cpp:(.text+0xa2e): undefined reference to `PR_AtomicIncrement' /tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsGenericFactory.o): In function `nsGenericFactory::AddRef()': nsGenericFactory.cpp:(.text+0xa58): undefined reference to `PR_AtomicIncrement' /tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsGenericFactory.o): In function `nsGenericFactory::GetClassDescription(char**)': nsGenericFactory.cpp:(.text+0xace): undefined reference to `NS_Alloc' /tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsGenericFactory.o): In function `nsGenericFactory::GetContractID(char**)': nsGenericFactory.cpp:(.text+0xb45): undefined reference to `NS_Alloc' /tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsMemory.o): In function `nsMemory::GetGlobalMemoryService()': nsMemory.cpp:(.text+0x17): undefined reference to `NS_GetMemoryManager' /tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsMemory.o): In function `nsMemory::Clone(void const*, unsigned int)': nsMemory.cpp:(.text+0x4d): undefined reference to `NS_Alloc' /tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsMemory.o): In function `nsMemory::HeapMinimize(int)': nsMemory.cpp:(.text+0x8f): undefined reference to `NS_GetMemoryManager' collect2: ld returned 1 exit status make[6]: *** [sbDOMEventUtils.so] Error 1 make[6]: Leaving directory `/tmp/.private/gray_graff/RPM/BUILD/Songbird/compiled/components/moz/domevents/src' make[5]: *** [libs] Error 2 make[5]: Leaving directory `/tmp/.private/gray_graff/RPM/BUILD/Songbird/compiled/components/moz/domevents' make[4]: *** [libs] Error 2 make[4]: Leaving directory `/tmp/.private/gray_graff/RPM/BUILD/Songbird/compiled/components/moz' make[3]: *** [libs_tier_componentsbase] Error 2 make[3]: Leaving directory `/tmp/.private/gray_graff/RPM/BUILD/Songbird/compiled' make[2]: *** [tier_componentsbase] Error 2 make[2]: Leaving directory `/tmp/.private/gray_graff/RPM/BUILD/Songbird/compiled' make[1]: *** [default] Error 2 make[1]: Leaving directory `/tmp/.private/gray_graff/RPM/BUILD/Songbird/compiled' make: *** [build] Error 2 make: Leaving directory `/tmp/.private/gray_graff/RPM/BUILD/Songbird' ошибка: Неверный код возврата из /home/gray_graff/tmp/rpm-tmp.73122 (%build)