Skip to content

Conversation

@shenki
Copy link

@shenki shenki commented May 9, 2022

The original assembly used suspicious syntax. However, due to the
!defined(OPTIMIZE) guard this code was rarely built.

There nothing to stop the compiler using r0 between the two asm blocks,
which may have been the cause of the note mentioning it failed when
build with optimisation enabled.

Write a single asm statement that places the result in the given
location.

This builds for powerpc64le and passes tests.

The original assembly used suspicious syntax. However, due to the
!defined(__OPTIMIZE__) guard this code was rarely built.

There nothing to stop the compiler using r0 between the two asm blocks,
which may have been the cause of the note mentioning it failed when
build with optimisation enabled.

Write a single asm statement that places the result in the given
location.

This builds for powerpc64le and passes tests.
shenki added a commit to shenki/buildroot that referenced this pull request May 9, 2022
Fixes the following build failure on powerpc64le:

 http://autobuild.buildroot.net/results/1f84facd106abdd59be87b9f6e1eb24bcef0a846

 Assembler messages:
 Error: missing operand

The code will fail to build on any powerpc platform with optimisation
disabled as package contains incorrect syntax behind !defined(__OPTIMIZE__).

The patch has been submitted to the project:

 j256/dmalloc#113

Signed-off-by: Joel Stanley <[email protected]>
woodsts pushed a commit to woodsts/buildroot that referenced this pull request May 13, 2022
Fixes the following build failure on powerpc64le:

 http://autobuild.buildroot.net/results/1f84facd106abdd59be87b9f6e1eb24bcef0a846

 Assembler messages:
 Error: missing operand

The code will fail to build on any powerpc platform with optimisation
disabled as package contains incorrect syntax behind !defined(__OPTIMIZE__).

The patch has been submitted to the project:

 j256/dmalloc#113

Signed-off-by: Joel Stanley <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
colemancda pushed a commit to MillerTechnologyPeru/buildroot that referenced this pull request May 23, 2022
Fixes the following build failure on powerpc64le:

 http://autobuild.buildroot.net/results/1f84facd106abdd59be87b9f6e1eb24bcef0a846

 Assembler messages:
 Error: missing operand

The code will fail to build on any powerpc platform with optimisation
disabled as package contains incorrect syntax behind !defined(__OPTIMIZE__).

The patch has been submitted to the project:

 j256/dmalloc#113

Signed-off-by: Joel Stanley <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
buildroot-auto-update pushed a commit to buildroot/buildroot that referenced this pull request May 28, 2022
Fixes the following build failure on powerpc64le:

 http://autobuild.buildroot.net/results/1f84facd106abdd59be87b9f6e1eb24bcef0a846

 Assembler messages:
 Error: missing operand

The code will fail to build on any powerpc platform with optimisation
disabled as package contains incorrect syntax behind !defined(__OPTIMIZE__).

The patch has been submitted to the project:

 j256/dmalloc#113

Signed-off-by: Joel Stanley <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
(cherry picked from commit 2712e32)
Signed-off-by: Peter Korsgaard <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant