[ Note: I don't like doing this. I would rather use a snapshot and   ]
[ just get -current, but I have the Adaptec bullshit on this machine ]
[ and need a kernel that support aac(4).                             ]

I'm going from 3.6 to 3.7, and just trying to get the fscking adaptec
controller working.

Following information found in release(8), I wind up with this:

1. Reboot new GENERIC.MP kernel. Works fine.
2. Clean up /usr/obj/*
3. I have to upgrade my compiler. 

# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd3.6/2.95.3/specs
gcc version 2.95.3 20010125 (prerelease, propolice)

Alas, /usr/obj/gnu/egcs/gcc/ isn't found on this machine. Do I need to
rebuild all my 3.6-STABLE sources first? Then upgrade the 2.x compile, then
move to 3.x?

If I follow instructions in the FAQ and try and compile gcc 3.x, I get this
far.

# rm -r /usr/obj/gnu/usr.bin/gcc/*
# cd /usr/src/gnu/usr.bin/gcc
# make -f Makefile.bsd-wrapper clean
# make -f Makefile.bsd-wrapper obj
# make -f Makefile.bsd-wrapper depend
# make -f Makefile.bsd-wrapper 

[snip]

/usr/src/gnu/usr.bin/gcc/gcc/unwind-dw2-fde-glibc.c:139: error: `PT_LOOS'
undeclared (first use in this function)
/usr/src/gnu/usr.bin/gcc/gcc/unwind-dw2-fde-glibc.c:139: error: (Each
undeclared identifier is reported only once
/usr/src/gnu/usr.bin/gcc/gcc/unwind-dw2-fde-glibc.c:139: error: for each
function it appears in.)
/usr/src/gnu/usr.bin/gcc/gcc/unwind-dw2-fde-glibc.c: In function
`_Unwind_Find_FDE':
/usr/src/gnu/usr.bin/gcc/gcc/unwind-dw2-fde-glibc.c:283: warning: implicit
declaration of function `dl_iterate_phdr'
*** Error code 1

Stop in /usr/src/gnu/usr.bin/gcc/obj (line 208 of libgcc.mk).
*** Error code 1

Stop in /usr/src/gnu/usr.bin/gcc/obj (line 2160 of Makefile).
*** Error code 1

Stop in /usr/src/gnu/usr.bin/gcc (line 84 of
/usr/src/gnu/usr.bin/gcc/Makefile.bsd-wrapper).
#

Thanks for hitting me with a cluestick. MANTRA: don't buy adaptec. don't buy
adaptec. don't buy adaptec.

Reply via email to