Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 379197 - www-plugins/nspluginwrapper-1.4.4 should use x86_64-pc-linux-gnu-4.4.5-hardenednossp on hardened
Summary: www-plugins/nspluginwrapper-1.4.4 should use x86_64-pc-linux-gnu-4.4.5-harden...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-14 20:46 UTC by Gabriel
Modified: 2011-10-23 11:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (ns.log,55.47 KB, text/plain)
2011-08-14 20:47 UTC, Gabriel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel 2011-08-14 20:46:39 UTC
The nspluginwrapper does not compile on hardened system by default.
The strange part is that the error is occurring during the portage installation step not the compilation one.

I will attached the portage log file.

Reproducible: Always

Steps to Reproduce:
1. emerge nspluginwrapper
2.
3.
Actual Results:  
gcc -std=c99 -m32 -Wl,-O1 -Wl,--as-needed -Llsb-build-i386  -Wl,--export-dynamic -Wl,--version-script,/var/tmp/portage/www-plugins/nspluginwrapper-1.4.4/work/nspluginwrapper-1.4.4/src/npw-viewer.map -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 -lgtk-x11-2.0 -lgdk-x11-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lX11 -lXt -ldl -lpthread -lsupc++
gcc -std=c99 -shared -m32 -Wl,-O1 -Wl,--as-needed -Llsb-build-i386 -o libnoxshm.so libnoxshm-libnoxshm.o -Wl,-soname,libnoxshm.so
lsb-build-i386/libc_nonshared.a(libc_nonshared.o): In function `__libc_csu_fini':
libc_nonshared.c:(.text+0x27): undefined reference to `__fini_array_end'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: lsb-build-i386/libc_nonshared.a(libc_nonshared.o): relocation R_386_GOTOFF against undefined hidden symbol `__fini_array_end' can not be used when making a shared object
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make: *** [libnoxshm.so] Error 1
make: *** Waiting for unfinished jobs....
rm lsb-build-i386/libXt.o lsb-build-i386/libXext.o lsb-build-i386/libgcc_s.o lsb-build-i386/libc_main.o lsb-build-i386/libpthread.o lsb-build-i386/libdl.o lsb-build-i386/libgobject-2.0.o lsb-build-i386/libgdk-x11-2.0.o lsb-build-i386/libgtk-x11-2.0.o lsb-build-i386/libgthread-2.0.o lsb-build-i386/libX11.o lsb-build-i386/libglib-2.0.o lsb-build-i386/libc_nonshared.o
emake failed


You need to switch to x86_64-pc-linux-gnu-4.4.5-hardenednossp in order for the package to compile.
Comment 1 Gabriel 2011-08-14 20:47:48 UTC
Created attachment 283329 [details]
build log

This is the complete output from the portage log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-15 02:10:51 UTC
I think that just the start of your troubles given the state of most plugins.
Comment 3 Magnus Granberg gentoo-dev 2011-09-03 15:28:40 UTC
emerge -info and what use flags on the nspluginwrapper.
Can you try 1.4.4-r1?
1.4.4-r1 install fine for me on hardened profile.
Comment 4 Gabriel 2011-10-23 10:48:48 UTC
Sorry for the late answer, the message got spammed.

Yep, the new version works just fine.

Thanks,

Gabriel
Comment 5 Pacho Ramos gentoo-dev 2011-10-23 11:01:39 UTC
Thanks for feedback