Skip to content

[BUG][CI][CHT][BYT] Build failure on CHT: .text will not fit in region sof_text_start #3063

Closed

Description

@aiChaoSONG

[100%] Linking C executable sof
/home/test/xcc/install/tools/RD-2012.5-linux/XtensaTools/bin/xt-ld: sof section .text' will not fit in region sof_text_start'
CMakeFiles/sof.dir/build.make:1820: recipe for target 'sof' failed
make[3]: *** [sof] Error 2
CMakeFiles/Makefile2:396: recipe for target 'CMakeFiles/sof.dir/all' failed
make[2]: *** [CMakeFiles/sof.dir/all] Error 2
CMakeFiles/Makefile2:1658: recipe for target 'src/arch/xtensa/CMakeFiles/bin.dir/rule' failed
make[1]: *** [src/arch/xtensa/CMakeFiles/bin.dir/rule] Error 2
Makefile:723: recipe for target 'bin' failed
make: *** [bin] Error 2

Activity

  1. added
    bugSomething isn't working as expected
    on Jun 18, 2020
  2. ClarexZhou commented on Jun 18, 2020

    @ClarexZhou

    Bi-sect result: issue occurred from a2d1e1e

  3. ClarexZhou commented on Jun 18, 2020

    @ClarexZhou

    @bkokoszx could you please help to check first?

  4. added
    P2Critical bugs or normal features
    and removed
    P1Blocker bugs or important features
    on Jun 22, 2020
  5. xiulipan commented on Jun 22, 2020

    @xiulipan
    Contributor

    The TEXT size on CHT is just a little out range.
    After hack with memory.h, we can got the current TEXT size.

    writing module 0 sof-cht
    
            Totals  Start           End             Size
            TEXT    0xff2c0000      0xff2d4047      0x14047 (IRAM_SIZE is 0x14000)
            DATA    0xff300010      0xff328000      0x27ff0
            BSS     0xff303920      0xff307788      0x3e68
    
  6. marc-hb commented on Jun 24, 2020

    @marc-hb
    Collaborator

    Bi-sect result: issue occurred from a2d1e1e

    Yet everything is green in PR #2897 ?!

    @xiulipan do you think this went over the limit only when PR #2897 was rebased and combined on top of some other code addition?

    In an ideal world with infinite resources, CI is run on each PR twice: before and after rebase. In the real world projects generally choose one or the other.

  7. changed the title [-][BUG][CI][CHT] Build failure on CHT: .text will not fit in region sof_text_start[/-] [+][BUG][CI][CHT][BYT] Build failure on CHT: .text will not fit in region sof_text_start[/+] on Jun 28, 2020
  8. xiulipan commented on Jun 29, 2020

    @xiulipan
    Contributor

    @marc-hb Yes, this is the issue with merge.
    When #2897 run with test, it would be on code base A.
    But when it is merged, it would be on code base B. I manually test with base A and B and the issue is there.

    That would be an ideal solution, but the question here is you will never know what is the point for the rebase. The rebase happen when you click the merge button. At that time, the PR is merged into the master branch.

    We indeed have some after merge check. In both Jenkins and Travis. But we only have feedback from Travis and internal warning message in Jenkins. Will try to make the Jenkins push check expose to GitHub. (internal issue 498)

  9. marc-hb commented on Jul 15, 2020

    @marc-hb
    Collaborator

    Was this fixed by #3080 ? If yes please close.

  10. aiChaoSONG commented on Jul 15, 2020

    @aiChaoSONG
    CollaboratorAuthor

    colse for fixed by #3080

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BYTApplies to Baytrail platformP2Critical bugs or normal featuresbugSomething isn't working as expected

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions