* [Buildroot] libssp still missing from target
@ 2011-08-04 16:56 Grant Edwards
2011-08-04 22:34 ` Thomas Petazzoni
0 siblings, 1 reply; 4+ messages in thread
From: Grant Edwards @ 2011-08-04 16:56 UTC (permalink / raw)
To: buildroot
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?
--
Grant Edwards grant.b.edwards Yow! I want you to MEMORIZE
at the collected poems of
gmail.com EDNA ST VINCENT MILLAY
... BACKWARDS!!
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] libssp still missing from target
2011-08-04 16:56 [Buildroot] libssp still missing from target Grant Edwards
@ 2011-08-04 22:34 ` Thomas Petazzoni
2011-08-05 7:46 ` Peter Korsgaard
2011-08-06 9:38 ` Mike Frysinger
0 siblings, 2 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2011-08-04 22:34 UTC (permalink / raw)
To: buildroot
Hello,
Le Thu, 4 Aug 2011 16:56:07 +0000 (UTC),
Grant Edwards <grant.b.edwards@gmail.com> a ?crit :
> 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?
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
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] libssp still missing from target
2011-08-04 22:34 ` Thomas Petazzoni
@ 2011-08-05 7:46 ` Peter Korsgaard
2011-08-06 9:38 ` Mike Frysinger
1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2011-08-05 7:46 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 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.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] libssp still missing from target
2011-08-04 22:34 ` Thomas Petazzoni
2011-08-05 7:46 ` Peter Korsgaard
@ 2011-08-06 9:38 ` Mike Frysinger
1 sibling, 0 replies; 4+ messages in thread
From: Mike Frysinger @ 2011-08-06 9:38 UTC (permalink / raw)
To: buildroot
On Thu, Aug 4, 2011 at 15:34, Thomas Petazzoni wrote:
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-08-06 9:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-04 16:56 [Buildroot] libssp still missing from target Grant Edwards
2011-08-04 22:34 ` Thomas Petazzoni
2011-08-05 7:46 ` Peter Korsgaard
2011-08-06 9:38 ` Mike Frysinger
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.