Summary: | www-plugins/nspluginwrapper-1.0.0 fails to emerge with gcc 4.4.0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Morgan Wesström <gentoo-bugzilla> |
Component: | Current packages | Assignee: | Patrick McLean <chutzpah> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | amd64, dawnstyle, esigra, eXt, hubertstar, jackdachef, jdaluz, toolchain |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 249226 | ||
Attachments: |
fix gcc 4.4.0 build error(use systemlibs).
gcc 4.4.0 build fix for 1.3.0 |
Description
Morgan Wesström
2009-05-10 13:28:15 UTC
also 1.2.2 My knowledge of toolchain internals is somewhat limited.. I am not sure how to fix this. CC'ing toolchain to see if they have any suggestions. gcc -std=c99 -o test-rpc-concurrent-server test-rpc-concurrent-server.o test-rpc-common-server.o debug-server.o rpc-server.o -lglib-2.0 -lpthread ln -sf libgcc_s.so lsb-build-i386/libgcc_s_32.so gcc -std=c99 -m32 -o npviewer.bin npviewer-npw-viewer.o npviewer-npw-common.o npviewer-npw-malloc.o npviewer-npw-rpc.o npviewer-rpc.o npviewer-debug.o npviewer-utils.o npviewer-npruntime.o npviewer-cxxabi-compat.o -m32 -Llsb-build-i386 -lgtk-x11-2.0 -lgdk-x11-2.0 -lgobject-2.0 -ldl -lglib-2.0 -lX11 -lXt -ldl -lpthread -lgthread-2.0 -Wl,--export-dynamic -Wl,--version-script,/var/tmp/portage/www-plugins/nspluginwrapper-1.2.2/work/nspluginwrapper-1.2.2/src/npw-viewer.map -lsupc++ gcc -std=c99 -m32 -shared -o libxpcom.so libxpcom-libxpcom.o libxpcom-debug.o -m32 -Llsb-build-i386 -Wl,-soname,libxpcom.so gcc -std=c99 -m32 -shared -o libnoxshm.so libnoxshm-libnoxshm.o -m32 -Llsb-build-i386 -Wl,-soname,libnoxshm.so gcc -std=c99 -Wl,-O1 -o npplayer npplayer-npw-player.o npplayer-debug.o npplayer-rpc.o npplayer-utils.o npplayer-glibcurl.o npplayer-gtk2xtbin.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lcurl -L/usr/lib64 -lX11 -lXt -lgthread-2.0 -lpthread /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.0/32/libsupc++.a(cp-demangle.o): In function `d_print_comp': (.text+0x38c6): undefined reference to `__sprintf_chk' collect2: ld returned 1 exit status make: *** [npviewer.bin] Error 1 make: *** Waiting for unfinished jobs.... npplayer-npw-player.o: In function `on_stream_open_cb': npw-player.c:(.text+0x1d01): warning: the use of `tmpnam' is dangerous, better use `mkstemp' rm test-rpc-types-server.o lsb-build-i386/libXext.o lsb-build-i386/libgdk-x11-2.0.o lsb-build-i386/libgcc_s.o test-rpc-nested-2-client.o lsb-build-i386/libc_main.o test-rpc-concurrent-client.o lsb-build-i386/libpthread.o lsb-build-i386/libdl.o lsb-build-i386/libgobject-2.0.o test-rpc-common-server.o test-rpc-common-client.o test-rpc-nested-2-server.o rpc-client.o test-rpc-types-client.o test-rpc-concurrent-server.o lsb-build-i386/libgthread-2.0.o lsb-build-i386/libX11.o debug-client.o lsb-build-i386/libgtk-x11-2.0.o rpc-server.o lsb-build-i386/libXt.o lsb-build-i386/libglib-2.0.o test-rpc-nested-1-server.o debug-server.o lsb-build-i386/libc_nonshared.o test-rpc-nested-1-client.o * * ERROR: www-plugins/nspluginwrapper-1.2.2 failed. ======== Also. 1.3.0 http://gwenole.beauchesne.info/en/blog/2009/01/02/nspluginwrapper_1.3.0 I can confirm it. same error here. anyone can fix this error? Created attachment 195813 [details, diff] fix gcc 4.4.0 build error(use systemlibs). fix gcc 4.4.0 build error. apply this patch and build. after emerge it, you can navigate to this URL to test acrobat pdf reader: http://www.adobe.com/devnet/livecycle/articles/lc_pdf_overview_format.pdf Created attachment 195814 [details, diff]
gcc 4.4.0 build fix for 1.3.0
this is 1.3.0 patch.
It's work. 1.2.2 and 1.3.0. Thanks) www-plugins/nspluginwrapper-1.2.2-r1 now in tree with gcc44 patch, will not put 1.3.0 as it's considered unstable. why is every other distribution using or being able to use nspluginwrapper 1.3.0 and Gentoo is still using 1.2.2 (which now might be less well working with flash 10.1) and regarding 1.3.0 as unstable ? anyone has tried whether 1.3.0 fixes the problem observed with 1.2.2 and adobe-flash 10.1 ? http://bugs.gentoo.org/show_bug.cgi?id=322855#c16 this bug is closed and is not about version bumping. file a new bug and/or post your question to a mailing list/forum. |