Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Build problem with latest locore.S



Hmmm, it seems there was also a compile-time warning on locore.S which was not treated as fatal...

In file included from ./xen/xen-public/arch-x86/xen.h:61:0,
                 from ./xen/xen-public/xen.h:34,
from /build/netbsd-compat/src/sys/arch/amd64/amd64/locore.S:280:
./xen/xen-public/arch-x86/xen-x86_64.h:58:0: warning: "FLAT_RING3_CS64" redefined
 #define FLAT_RING3_CS64 0xe033  /* GDT index 261 */

In file included from /build/netbsd-compat/src/sys/arch/amd64/amd64/locore.S:164:0:
./assym.h:177:0: note: this is the location of the previous definition
 #define FLAT_RING3_CS64 57395


On Fri, 30 Mar 2018, Paul Goyette wrote:

With the latest locore.S I am seeing the following error:

#      link  INSTALL_XEN3_DOMU/netbsd
/build/netbsd-compat/tools/x86_64/amd64/bin/x86_64--netbsd-ld -Map netbsd.map --cref -T netbsd.ldscript -Ttext 0xffffffff80200000 -e start -X -o netbsd ${SYSTEM_OBJ:[@]:Nswapnetbsd.o} ${EXTRA_OBJ} vers.o swapnetbsd.o
locore.o: In function `cpu_switchto':
(.text+0x20b2): undefined reference to `speculation_barrier'
*** [netbsd] Error code 1


+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


Home | Main Index | Thread Index | Old Index