NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
toolchain/44848: ideas for enhancing the toolchain tests
>Number: 44848
>Category: toolchain
>Synopsis: ideas for enhancing the toolchain tests
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Apr 10 08:45:00 +0000 2011
>Originator: matthew green
>Release: NetBSD -current
>Organization:
people's front against (bozotic) www (softwar foundation)
>Environment:
>Description:
the hello32 test is always installed and run on systems that may
support "cc -m32" args, but not have installed libs (MKCOMAPT=no.)
martin and i discussed splitting it up into a separate case that
can be installed or not based upon make variables, which would allow
non-bogus failures for these systems. we also discusssed a few other
ideas, and he asked me to file this PR with info.
in these lists, "MLIBDIR" is the /usr/lib/$MLIBDIR the compat libs
are installed into.
for amd64 we have:
MLIBDIR= i386
LD+= -m elf_i386
COPTS+= -m32
CPUFLAGS+= -m32
LDADD+= -m32
LDFLAGS+= -m32
MKDEPFLAGS+= -m32
for sparc64 we have:
MLIBDIR= sparc
LD+= -m elf32_sparc
COPTS+= -m32
CPUFLAGS+= -m32
LDADD+= -m32
LDFLAGS+= -m32
MKDEPFLAGS+= -m32
for mips64/64 we have:
MLIBDIR= 64
for BE:
LD+= -m elf64btsmip
for LE:
LD+= -m elf64ltsmip
COPTS+= -mabi=64
CPUFLAGS+= -mabi=64
LDADD+= -mabi=64
LDFLAGS+= -mabi=64
MKDEPFLAGS+= -mabi=64
for mips64/o32 we have:
MLIBDIR= o32
for BE:
LD+= -m elf32btsmip
for LE:
LD+= -m elf32ltsmip
COPTS+= -mabi=32 -march=mips3
CPUFLAGS+= -mabi=32 -march=mips3
LDADD+= -mabi=32 -march=mips3
LDFLAGS+= -mabi=32 -march=mips3
MKDEPFLAGS+= -mabi=32 -march=mips3
(for reference, this data is currently located in
src/compat/$MACHINE/*/bsd.*.mk and src/compat/m32.mk.)
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index