libssp still missing from target
This has come up before, and IIRC, I ended up tweaking ext-tool.mk to work around it.
I've just upgraded to Buildroot 2011.05, and it seems ext-tool.mk still isn't copying libssp to the target. It's need by (among other things) ssh:
Starting network...
ip: RTNETLINK answers: File exists
Generating ECDSA Key...
THIS CAN TAKE A MINUTE OR TWO DEPENDING ON YOUR PROCESSOR!
/usr/bin/ssh-keygen: can't load library 'libssp.so.0' Starting sshd: /usr/sbin/sshd: can't load library 'libssp.so.0'
Is there some configuration option I've missed?
Signature · 4 lines
Grant Edwards grant.b.edwards Yow! I want you to MEMORIZE
at the collected poems of
gmail.com EDNA ST VINCENT MILLAY
... BACKWARDS!!Hello,
Le Thu, 4 Aug 2011 16:56:07 +0000 (UTC), Grant Edwards <[email protected]> a ?crit :
Quoted 12 lines
This has come up before, and IIRC, I ended up tweaking ext-tool.mk to work around it.
I've just upgraded to Buildroot 2011.05, and it seems ext-tool.mk still isn't copying libssp to the target. It's need by (among other things) ssh:
Starting network...
ip: RTNETLINK answers: File exists
Generating ECDSA Key...
THIS CAN TAKE A MINUTE OR TWO DEPENDING ON YOUR PROCESSOR!
Quoted 4 lines
/usr/bin/ssh-keygen: can't load library 'libssp.so.0' Starting sshd:/usr/sbin/sshd: can't load library 'libssp.so.0'Is there some configuration option I've missed?
I guess libssp only exists on toolchains that have stack protection support enabled. None of my CodeSourcery or Buildroot-built toolchains have a libssp. I guess I'll have to build a CT-NG toolchain with libssp support.
Regards,
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Hi,
Thomas> I guess libssp only exists on toolchains that have stack Thomas> protection support enabled. None of my CodeSourcery or Thomas> Buildroot-built toolchains have a libssp. I guess I'll have to Thomas> build a CT-NG toolchain with libssp support.
We do have a BR2_TOOLCHAIN_BUILDROOT_USE_SSP option for the internal toolchain.
Signature · 1 line
Bye, Peter Korsgaard
Quoted 4 lines · Thomas Petazzoni
I guess libssp only exists on toolchains that have stack protection support enabled. None of my CodeSourcery or Buildroot-built toolchains have a libssp. I guess I'll have to build a CT-NG toolchain with libssp support.
not exactly. libssp is a configure option when gcc is built. you can either force gcc to build/use a dedicated libssp.so, but this is redundant when using glibc or uClibc which includes the required symbols in its libc/ldso.
so any code in buildroot would need to detect if libssp is available and only copy it over if so.
-mike