Build fails on Buildroot due to unsupported target_clones

Bug #1800826 reported by Carlos Santos
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stress-ng
Fix Released
Medium
Colin Ian King

Bug Description

Porting stress-ng to Buildroot + uClibc-ng I stomped on several compilation errors like this:

stress-cpu.c:2041:27: error: the call requires ifunc, which is not supported by this target
 static void TARGET_CLONES stress_cpu_union(const char *name)
                           ^~~~~~~~~~~~~~~~

I solved the problem by means of a test program which checks if the target_clones attribute can be used with the current toolchain (see attached patch).

Revision history for this message
Carlos Santos (unixmania) wrote :
Revision history for this message
Colin Ian King (colin-king) wrote :

Thanks Carlos, fix committed and pushed (with some minor adjustments)

Changed in stress-ng:
importance: Undecided → Medium
assignee: nobody → Colin Ian King (colin-king)
status: New → Fix Committed
Changed in stress-ng:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.