This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Support for Intel X1000


On Wed, 2015-05-13 at 13:08 -0400, dalias@libc.org wrote:
> I think it's rather dangerous to produce such binaries -- someone
> might compile on such a hacked distro and move the binary to a
> different system, unaware of the issues. If anyone is seriously
> considering this approach, I think there needs to be some way of
> tagging the binaries to make sure this can't happen.

Understood

> it would make a lot more sense to put the hack that
> NOPs out the lock prefix into the assembler. Then you can just build
> all programs with the hacked binutils and get working binaries.

Seems to be most straight forward way to avoid modifying code
everywhere, at the expense of portability. 

Ray K


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]