Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current status of allyesconfig and allmodconfig #839

Closed
nathanchance opened this issue Jan 13, 2020 · 1 comment
Closed

Current status of allyesconfig and allmodconfig #839

nathanchance opened this issue Jan 13, 2020 · 1 comment
Labels
[CONFIG] allmodconfig Issue affects allmodconfig on certain architectures [CONFIG] allyesconfig Issue affects allyesconfig on certain architectures

Comments

@nathanchance
Copy link
Member

I have decided to create this issue to track other various issues that prevent us from fully building an allyesconfig or allmodconfig build for certain architectures.

I think that getting some visibility on these and trying to get them addressed is important for trying to get more people involved with the project because a lot of people experiment with this through building their distribution's kernel, which will be much closer to allmodconfig than defconfig.

We do not have much visibility into these results aside from the reports that are sent to our mailing list from KernelCI (and it appears that they stopped doing clang builds?) because Travis won't be able to handle that kind of workload and I don't know of anyone else doing this kind of testing publicly.

Currently with clang at llvm/llvm-project@995c18f...

arm32 results

Target 5.5-rc6 next-20200113
allmodconfig Success Success
LD=ld.lld allmodconfig Success Success
allyesconfig Failure Failure
LD=ld.lld allyesconfig Success Success

arm64 results

Target 5.5-rc6 next-20200113
allmodconfig Success Success
LD=ld.lld allmodconfig Success Success
allyesconfig Success Success
LD=ld.lld allyesconfig Failure Failure

x86_64 results

Target 5.5-rc6 next-20200113
allmodconfig Success Success
LD=ld.lld allmodconfig Failure Failure
allyesconfig Success Success
LD=ld.lld allyesconfig Success Success

This is the script that I wrote to generate these results

LOG=$(mktemp --suffix=.log)

echo "Build log: ${LOG}"
echo

LE_CONFIG=$(mktemp --suffix=.config)
echo "CONFIG_CPU_BIG_ENDIAN=n" > "${LE_CONFIG}"

for ARCH in arm arm64 x86; do
    case ${ARCH} in
        "arm") MAKE_ARCH_ARGS=( ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- KCONFIG_ALLCONFIG=${LE_CONFIG} ) ;;
        "arm64") MAKE_ARCH_ARGS=( ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- KCONFIG_ALLCONFIG=${LE_CONFIG} ) ;;
        "x86") MAKE_ARCH_ARGS=( ) ;;
    esac

    for TREE in linux linux-next; do
        for TARGET in allyesconfig allmodconfig; do
            KMAKE=( make -C "${HOME}/src/${TREE}" -j$(nproc) -s CC=clang O=out "${MAKE_ARCH_ARGS[@]}" distclean "${TARGET}" all )
            {
                echo "${ARCH} ${TARGET} on ${TREE} with LD=ld.bfd build output:"
                echo
                PATH=${CBL_LLVM}:${CBL_BNTL}:${PATH} "${KMAKE[@]}" 2>&1
                EXIT_CODE=${?}
                echo
                echo "Build exit code: ${EXIT_CODE}"
                echo
                echo "${ARCH} ${TARGET} on ${TREE} with LD=ld.lld build output:"
                echo
                PATH=${CBL_LLVM}:${CBL_BNTL}:${PATH} "${KMAKE[@]}" LD=ld.lld 2>&1
                EXIT_CODE=${?}
                echo
                echo "Build exit code: ${EXIT_CODE}"
                echo
            } >> "${LOG}"
        done
    done
done

I do these builds every day but I think doing a build every Sunday (when the new RC hits) and reporting the results here would be kind of nice.

@nathanchance nathanchance added [CONFIG] allyesconfig Issue affects allyesconfig on certain architectures [CONFIG] allmodconfig Issue affects allmodconfig on certain architectures labels Jan 13, 2020
@nathanchance
Copy link
Member Author

I will be posting -rc builds results in #1228 and issues like it from now on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[CONFIG] allmodconfig Issue affects allmodconfig on certain architectures [CONFIG] allyesconfig Issue affects allyesconfig on certain architectures
Projects
None yet
Development

No branches or pull requests

1 participant