no such 386 instruction 'data32'

I am trying to compile Etherboot under QNX6 and am getting the message:
Error: no such 386 instruction ‘data32’
also
Error: no such 386 instruction ‘addr32’

My research to date suggests that the “as” (GNU assembler) is not up to
date.

However, I am currently at a loss as to what to do about it!
(I think I have the latest available development environment for QNX6)

(Especially as a strings on “as” seems to imply that it is 2.9.1, and the
source file has #ifdef sections for GAS291, and the gcc command line has
-DGAS291 as part of it.)

Does anybody at QSSL (like Colin, for example) or out of QSSL (like Igor
or Armin, for example) who have done considerable porting have any
information on what is going on here??

Or even more usefully, any suggestion about what to do about it.
(You can omit anything harder than getting more recent source for “as”
and porting it - that is my current easiest possible solution - I am just
hoping for something a little more simple, and less potentially
disruptive to my development environment)

I am trying to do research on creating a bootp (or dhcp) boot rom (for
QNX6) for our Cornet Ethernet cards. A somewhat modified Etherboot seems
to be the most effective solution (and yes, I know it is GPL code and
that that will mean that our boot ROM - if based on Etherboot - will have
to be also)

Yes, that does mean that we are attempting to make sure that we will have
boot ROMs for our Ethernet cards that can be used under QNX6!


Thanks!


Stephen Munnings
Software Developer
Corman Technologies Inc.

I’d try to compile troublesome AS code on another platform and/or with
another compiler and then use the object file :slight_smile:

Note also, many new motherboards have built-in NICs and Intel is pushing
PXE as network booting standard.

  • igor

Stephen Munnings wrote:

I am trying to compile Etherboot under QNX6 and am getting the message:
Error: no such 386 instruction ‘data32’
also
Error: no such 386 instruction ‘addr32’

My research to date suggests that the “as” (GNU assembler) is not up to
date.

However, I am currently at a loss as to what to do about it!
(I think I have the latest available development environment for QNX6)

(Especially as a strings on “as” seems to imply that it is 2.9.1, and the
source file has #ifdef sections for GAS291, and the gcc command line has
-DGAS291 as part of it.)

Does anybody at QSSL (like Colin, for example) or out of QSSL (like Igor
or Armin, for example) who have done considerable porting have any
information on what is going on here??

Or even more usefully, any suggestion about what to do about it.
(You can omit anything harder than getting more recent source for “as”
and porting it - that is my current easiest possible solution - I am just
hoping for something a little more simple, and less potentially
disruptive to my development environment)

I am trying to do research on creating a bootp (or dhcp) boot rom (for
QNX6) for our Cornet Ethernet cards. A somewhat modified Etherboot seems
to be the most effective solution (and yes, I know it is GPL code and
that that will mean that our boot ROM - if based on Etherboot - will have
to be also)

Yes, that does mean that we are attempting to make sure that we will have
boot ROMs for our Ethernet cards that can be used under QNX6!

Thanks!


Stephen Munnings
Software Developer
Corman Technologies Inc.