Skip to contentSkip to conversation

Reminder about your pending Buildroot patches

Buildroot Steven Noonan 2 participants 3 messages Apr 21, 2015 – Apr 22, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 22 lines · Thomas Petazzoni

Hello,

This is a reminder about your Buildroot patches that are older than 30 days.

We need your help to know if your patches are still relevant or not. To help us, make sure to update the status of your patches in patchwork as appropriate, or to resend an updated version that applies on the latest Buildroot master. Especially let us know if you would like to withdraw your patch if you are no longer interested.

Here is the list of patches you have submitted that are still pending:

- [1/7] package/perf: if slang is enabled, depend on it
http://patchwork.ozlabs.org/patch/451638/

- [2/7] package/perf: if numactl (libnuma) is enabled, depend on it
http://patchwork.ozlabs.org/patch/451636/

- [3/7] package/perf: if libunwind is enabled, depend on it
http://patchwork.ozlabs.org/patch/451637/

Quoted 8 lines

- [5/7] package/perf: patch installation paths
http://patchwork.ozlabs.org/patch/451641/

- [6/7] package/perf: add patch to prevent crash on empty history buffer
http://patchwork.ozlabs.org/patch/451634/

- [7/7] package/perf: use correct definition of ARCH on x86_64
http://patchwork.ozlabs.org/patch/451633/

All 7 are still relevant.

Quoted 2 lines

- implement granular choice for stack protector
http://patchwork.ozlabs.org/patch/451643/

Still relevant.

Quoted 2 lines

- package/glibc: enable lock elision on x86_64 hosts
http://patchwork.ozlabs.org/patch/451651/

Still relevant.

Quoted 2 lines

- package: add shadow 4.2.1
http://patchwork.ozlabs.org/patch/451723/

There was some followup discussion which I haven't addressed. But it is still relevant.

Quoted 2 lines

- package: add mosh 1.2.4
http://patchwork.ozlabs.org/patch/451726/

Still relevant.

Quoted 2 lines

- [v2] package/perf: build outside kernel tree
http://patchwork.ozlabs.org/patch/451947/

Relevant but people didn't want this one -- I just didn't see an alternative if we were going to apply any patches to perf.

Quoted 2 lines

- package/libpthsem: correctly handle --{en, dis}able-debug arguments on configure
http://patchwork.ozlabs.org/patch/452271/

Still relevant.

Quoted 12 lines

We have a lot of pending patches:
https://patchwork.ozlabs.org/project/buildroot/list/

You can help shorten this list by reviewing and testing patches, which helps the maintainers when applying patches. The more patches are reviewed or tested patches, the more are applied; the more are applied, the shorter the list; the shorter the list, the faster patches are applied.

Thanks a lot for your help and contribution to Buildroot! --
Buildroot, http://buildroot.org

#2 lore raw

Steven,

Quoted 14 lines · Steven Noonan
Quoted 14 lines

Here is the list of patches you have submitted that are still pending:

- [1/7] package/perf: if slang is enabled, depend on it
http://patchwork.ozlabs.org/patch/451638/

- [2/7] package/perf: if numactl (libnuma) is enabled, depend on it
http://patchwork.ozlabs.org/patch/451636/

- [3/7] package/perf: if libunwind is enabled, depend on it
http://patchwork.ozlabs.org/patch/451637/

- [5/7] package/perf: patch installation paths
http://patchwork.ozlabs.org/patch/451641/

Quoted 7 lines
Quoted 5 lines

- [6/7] package/perf: add patch to prevent crash on empty history buffer
http://patchwork.ozlabs.org/patch/451634/

- [7/7] package/perf: use correct definition of ARCH on x86_64
http://patchwork.ozlabs.org/patch/451633/

All 7 are still relevant.

Ok. I'll have a look at those perf patches.

Quoted 4 lines
Quoted 2 lines

- implement granular choice for stack protector
http://patchwork.ozlabs.org/patch/451643/

Still relevant.

Do all the gcc versions support those different levels of stack protection?

Quoted 4 lines
Quoted 2 lines

- package/glibc: enable lock elision on x86_64 hosts
http://patchwork.ozlabs.org/patch/451651/

Still relevant.

Is lock elision a feature always available on x86-64 ? Or only on certain cores ? I believe it required a certain generation of hardware. But maybe the glibc gracefully falls back to a non-elided lock implementation when the hardware does not have the required features.

All sort of questions that should have been addressed in the commit log... which is currently empty :-)

Quoted 5 lines
Quoted 2 lines

- package: add shadow 4.2.1
http://patchwork.ozlabs.org/patch/451723/

There was some followup discussion which I haven't addressed. But it is still relevant.

Yes, but can you address the comments?

Quoted 5 lines
Quoted 3 lines

- package: add mosh 1.2.4
http://patchwork.ozlabs.org/patch/451726/

Still relevant.

There has been some comments. Can you address them and resend? The comments have been made a month ago. While I agree we (Buildroot maintainers / core developers) are not best placed to criticize about delays, it would be good to respin patches not too long after the comments, so that they are kept "alive and moving".

Quoted 5 lines
Quoted 2 lines

- [v2] package/perf: build outside kernel tree
http://patchwork.ozlabs.org/patch/451947/

Relevant but people didn't want this one -- I just didn't see an alternative if we were going to apply any patches to perf.

Yeah, this isn't a simple problem :-/

Quoted 4 lines
Quoted 2 lines

- package/libpthsem: correctly handle --{en, dis}able-debug arguments on configure
http://patchwork.ozlabs.org/patch/452271/

Still relevant.

Not really: we are going to get rid of passing --enable-debug / --disable-debug. A patch series doing this has already been posted. I believe it will make this patch irrelevant. Can you confirm?

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#3 lore raw
Quoted 21 lines · Thomas Petazzoni

Steven,

Quoted 17 lines · Steven Noonan
Quoted 17 lines

Here is the list of patches you have submitted that are still pending:

- [1/7] package/perf: if slang is enabled, depend on it
http://patchwork.ozlabs.org/patch/451638/

- [2/7] package/perf: if numactl (libnuma) is enabled, depend on it
http://patchwork.ozlabs.org/patch/451636/

- [3/7] package/perf: if libunwind is enabled, depend on it
http://patchwork.ozlabs.org/patch/451637/

- [5/7] package/perf: patch installation paths
http://patchwork.ozlabs.org/patch/451641/

- [6/7] package/perf: add patch to prevent crash on empty history buffer
http://patchwork.ozlabs.org/patch/451634/

Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

- [7/7] package/perf: use correct definition of ARCH on x86_64
http://patchwork.ozlabs.org/patch/451633/

All 7 are still relevant.

Ok. I'll have a look at those perf patches.

At least a couple of these depend on making perf patchable. :(

But the dependency ones (slang, numactl, libunwind) should be straightforward.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

- implement granular choice for stack protector
http://patchwork.ozlabs.org/patch/451643/

Still relevant.

Do all the gcc versions support those different levels of stack protection?

No, which is why the patch introduces the BR2_TOOLCHAIN_HAS_SSP_STRONG flag (-fstack-protector-strong is the newest addition, added in GCC 4.9).

-fstack-protector and -fstack-protector-all were introduced at the same time, but I'm not sure which version they were introduced in -- but since Buildroot doesn't currently have flags for whether the toolchain supports it, we can assume it existed for quite some time.

Quoted 9 lines
Quoted 4 lines
Quoted 2 lines

- package/glibc: enable lock elision on x86_64 hosts
http://patchwork.ozlabs.org/patch/451651/

Still relevant.

Is lock elision a feature always available on x86-64 ? Or only on certain cores ? I believe it required a certain generation of hardware. But maybe the glibc gracefully falls back to a non-elided lock implementation when the hardware does not have the required features.

It's available on Haswell and later. Enabling lock elision in glibc will have it do a CPUID check whether the feature is supported before using it, so it's safe to enable on *any* x86_64 build.

Quoted 2 lines

All sort of questions that should have been addressed in the commit log... which is currently empty :-)

Fair enough, I am so used to thinking in this context that I didn't realize it was non-trivial.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

- package: add shadow 4.2.1
http://patchwork.ozlabs.org/patch/451723/

There was some followup discussion which I haven't addressed. But it is still relevant.

Yes, but can you address the comments?

Eventually. I have a lot on my plate right now. I have another patch series I do want to send out eventually as well (introducing the X32 ABI support) but that's all on hold until things quiet down.

We can drop the submission until I can address the comments.

Quoted 11 lines
Quoted 5 lines
Quoted 3 lines

- package: add mosh 1.2.4
http://patchwork.ozlabs.org/patch/451726/

Still relevant.

There has been some comments. Can you address them and resend? The comments have been made a month ago. While I agree we (Buildroot maintainers / core developers) are not best placed to criticize about delays, it would be good to respin patches not too long after the comments, so that they are kept "alive and moving".

Again, being busy doesn't help. :)

We can drop the submission until I can address the comments.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

- [v2] package/perf: build outside kernel tree
http://patchwork.ozlabs.org/patch/451947/

Relevant but people didn't want this one -- I just didn't see an alternative if we were going to apply any patches to perf.

Yeah, this isn't a simple problem :-/

Well, it sort of is. Just extract it for both and deal with it. But people are [perhaps rightfully] stingy about how much space is consumed by extracting the kernel tree again. We could filter the extract down to just the tools directory and any top-level Makefiles that the tools directory depends on, and then it would be feasible to extract+patch.

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

- package/libpthsem: correctly handle --{en, dis}able-debug arguments on configure
http://patchwork.ozlabs.org/patch/452271/

Still relevant.

Not really: we are going to get rid of passing --enable-debug / --disable-debug. A patch series doing this has already been posted. I believe it will make this patch irrelevant. Can you confirm?

Perhaps. If we pass *neither* --enable-debug or --disable-debug then things should be fine. But libpthsem currently mishandles it and considers both of --{enable,disable}-debug as enable -- which is basically the opposite of what we wanted.