Search results

  1. Y

    Error when using KCFLAGS+="-ffunction-sections -fdata-sections" LDFLAGS+="--gc-section" to reduce kernel size

    Thanks a lot! I am still working on it and haven't come up with any good idea. For testing, using --print-gc-section after --gc-section can print all the removed sections. If you have any new discovery about using gc-section to reduce kernel size, please let me know. Thanks
  2. Y

    Error when using KCFLAGS+="-ffunction-sections -fdata-sections" LDFLAGS+="--gc-section" to reduce kernel size

    Anyone know how to solve 'gc-sections requires either an entry or an undefined symbol' please help me:(
  3. Y

    Error when using KCFLAGS+="-ffunction-sections -fdata-sections" LDFLAGS+="--gc-section" to reduce kernel size

    I was trying to compile in the folder kernel 4.4 using the following commands to reduce kernel size for embedded Linux: make menuconfig ARCH=arm64 make -j 4 ARCH=arm64 CC=aarch64-linux-gnu-gcc KCFLAGS+="-ffunction-sections -fdata-sections" LDFLAGS+="--gc-section" It results in an Error as...
Top