File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ CONFIG_POWERPC64_CPU=n
2+ CONFIG_POWER10_CPU=y
3+ CONFIG_PPC_KERNEL_PCREL=y
Original file line number Diff line number Diff line change @@ -313,6 +313,15 @@ def full_compile_test(args, suite=None):
313313 k (f'ppc64_defconfig+{ feature } ' , image , merge_config = [f'{ feature } -y' ])
314314 k (f'ppc64le_defconfig+{ feature } ' , image , merge_config = [f'{ feature } -y' ])
315315
316+ pcrel_image = image
317+ if not image_at_least (image , ['fedora@36' , 'korg@12.1.0' ]):
318+ # Only GCC >= 12 can build pcrel because it needs -mcpu=power10
319+ pcrel_image = 'korg@12.1.0'
320+
321+ k ('ppc64le_defconfig+pcrel' , pcrel_image , merge_config = ['pcrel-y' ])
322+ # FIXME doesn't build
323+ # k('ppc64_defconfig+pcrel', pcrel_image, merge_config=['pcrel-y'])
324+
316325 #########################################
317326 # specific disabled features
318327 #########################################
You can’t perform that action at this time.
0 commit comments