Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

yasm: fix segfaults GNU assembler #29388

Closed
wants to merge 1 commit into from
Closed

yasm: fix segfaults GNU assembler #29388

wants to merge 1 commit into from

Conversation

denji
Copy link
Contributor

@denji denji commented May 19, 2014

Fix yasm segfaults GNU assembler files on OS X.
Bug: http://tortall.lighthouseapp.com/projects/78676/tickets/269

brew reinstal https://raw.github.com/Homebrew/homebrew/70a3bb/Library/Formula/yasm.rb

@denji denji changed the title yasm fix segfaults GNU assembler files on OS X yasm: fix segfaults GNU assembler files on OS X May 19, 2014
@denji denji changed the title yasm: fix segfaults GNU assembler files on OS X yasm: fix segfaults GNU assembler files May 19, 2014
@denji denji changed the title yasm: fix segfaults GNU assembler files yasm: fix segfaults GNU assembler May 19, 2014
@adamv
Copy link
Contributor

adamv commented May 19, 2014

Is there an example of an ASM file that causes a segfault that we can use as a test?

@denji
Copy link
Contributor Author

denji commented May 19, 2014

@adamv

/usr/local/bin/yasm -f macho64 -X gnu -p gas --prefix=_ crypto/keccak/KeccakF-1600-x86-64-gas_yasm.s -o crypto/keccak/KeccakF-1600-x86-64-gas_yasm.o
make: *** [crypto/keccak/KeccakF-1600-x86-64-gas_yasm.o] Segmentation fault: 11

You accept the patch is or will continue to watch on segfaults?

@denji
Copy link
Contributor Author

denji commented May 20, 2014

/cc @moinakg

@adamv
Copy link
Contributor

adamv commented May 20, 2014

There's at least one more GAS related ticket, going back 3 years: http://tortall.lighthouseapp.com/projects/78676/tickets/147-gas-parser-is-not-recognize-a-lot-of-keywords-used-for-macroses

@moinakg
Copy link

moinakg commented May 20, 2014

FYI, this patch does not provide support for all Gas 2.x features but fixes
some basic breakages. For example ability to use ".equ" to define arbitrary
textual labels (like C macros) is not present. Only expressions are
supported.

However fixing a couple of basic bugs is a start.
On 20 May 2014 20:18, "Adam Vandenberg" notifications@github.com wrote:

There's at least one more GAS related ticket, going back 3 years:
http://tortall.lighthouseapp.com/projects/78676/tickets/147-gas-parser-is-not-recognize-a-lot-of-keywords-used-for-macroses


Reply to this email directly or view it on GitHubhttps://github.com//pull/29388#issuecomment-43635739
.

@adamv
Copy link
Contributor

adamv commented May 20, 2014

We're not going to start carrying partial patches for this issue. Please work with upstream to get patches merged into the official distribution.

@adamv adamv closed this May 20, 2014
@denji denji deleted the yasm-fix branch May 21, 2014 08:34
@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants