Help: Internal error during Pass2

Hi all,

I am using w2k DDK with VC6+SP5+Processor Pack on a W2K box. When I tried to
build my driver, it gets following error while linking:

“Internal error during Pass2”

I searched google.com and microsoft.com but seems no fix/workaround works
for me. There is a message says installing VC6 to a dir without space in its
path. But I don’t think it’s the reason because I have a dev box before
works fine with VC6 path having space.

Is there a way to fix it without re-installation? If I have to reinstall,
should I get rid of Processor Pack or VC6 SP5?

Any help would be greatly appreciated,
Michael

Try doing a clean rebuild.

-----Original Message-----
From: Michael Huang [mailto:xxxxx@emboot.com]
Sent: Tuesday, May 21, 2002 11:59 AM
To: NT Developers Interest List
Subject: [ntdev] Help: Internal error during Pass2

Hi all,

I am using w2k DDK with VC6+SP5+Processor Pack on a W2K box.
When I tried to build my driver, it gets following error
while linking:

“Internal error during Pass2”

I searched google.com and microsoft.com but seems no
fix/workaround works for me. There is a message says
installing VC6 to a dir without space in its path. But I
don’t think it’s the reason because I have a dev box before
works fine with VC6 path having space.

Is there a way to fix it without re-installation? If I have
to reinstall, should I get rid of Processor Pack or VC6 SP5?

Any help would be greatly appreciated,
Michael


You are currently subscribed to ntdev as:
xxxxx@stratus.com To unsubscribe send a blank email to
%%email.unsub%%

Thanks for response. But I already tried and it’s same.

“Roddy, Mark” wrote in message news:xxxxx@ntdev…
>
> Try doing a clean rebuild.
>
> > -----Original Message-----
> > From: Michael Huang [mailto:xxxxx@emboot.com]
> > Sent: Tuesday, May 21, 2002 11:59 AM
> > To: NT Developers Interest List
> > Subject: [ntdev] Help: Internal error during Pass2
> >
> >
> > Hi all,
> >
> > I am using w2k DDK with VC6+SP5+Processor Pack on a W2K box.
> > When I tried to build my driver, it gets following error
> > while linking:
> >
> > “Internal error during Pass2”
> >
> > I searched google.com and microsoft.com but seems no
> > fix/workaround works for me. There is a message says
> > installing VC6 to a dir without space in its path. But I
> > don’t think it’s the reason because I have a dev box before
> > works fine with VC6 path having space.
> >
> > Is there a way to fix it without re-installation? If I have
> > to reinstall, should I get rid of Processor Pack or VC6 SP5?
> >
> > Any help would be greatly appreciated,
> > Michael
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as:
> > xxxxx@stratus.com To unsubscribe send a blank email to
> > %%email.unsub%%
> >
>
>

> > > “Internal error during Pass2”

Thanks for response. But I already tried and it’s same.

“Roddy, Mark” wrote in message
news:xxxxx@ntdev…
> >
> > Try doing a clean rebuild.

In this situation I am do some random “magic” tweaking of source file (swap
some functions, lines, comments, etc.). After several attempts this usually
work.

Vladimir

Try to delete all files in i386 directory manually or maybe better delete
whole objchk/objfre subtrees. If still doesn’t work, copy your sources to
another directory and build again.

Best regards,

Michal Vodicka
STMicroelectronics Design and Application s.r.o.
[michal.vodicka@st.com, http:://www.st.com]


From: xxxxx@emboot.com[SMTP:xxxxx@emboot.com]
Reply To: xxxxx@lists.osr.com
Sent: Tuesday, May 21, 2002 8:27 PM
To: xxxxx@lists.osr.com
Subject: [ntdev] Re: Help: Internal error during Pass2

Thanks for response. But I already tried and it’s same.

“Roddy, Mark” wrote in message
> news:xxxxx@ntdev…
> >
> > Try doing a clean rebuild.
> >
> > > -----Original Message-----
> > > From: Michael Huang [mailto:xxxxx@emboot.com]
> > > Sent: Tuesday, May 21, 2002 11:59 AM
> > > To: NT Developers Interest List
> > > Subject: [ntdev] Help: Internal error during Pass2
> > >
> > >
> > > Hi all,
> > >
> > > I am using w2k DDK with VC6+SP5+Processor Pack on a W2K box.
> > > When I tried to build my driver, it gets following error
> > > while linking:
> > >
> > > “Internal error during Pass2”
> > >
> > > I searched google.com and microsoft.com but seems no
> > > fix/workaround works for me. There is a message says
> > > installing VC6 to a dir without space in its path. But I
> > > don’t think it’s the reason because I have a dev box before
> > > works fine with VC6 path having space.
> > >
> > > Is there a way to fix it without re-installation? If I have
> > > to reinstall, should I get rid of Processor Pack or VC6 SP5?
> > >
> > > Any help would be greatly appreciated,
> > > Michael
> > >
> > >
> > >
> > > —
> > > You are currently subscribed to ntdev as:
> > > xxxxx@stratus.com To unsubscribe send a blank email to
> > > %%email.unsub%%
> > >
> >
> >
>
>
>
> —
> You are currently subscribed to ntdev as: michal.vodicka@st.com
> To unsubscribe send a blank email to %%email.unsub%%
>

Mike,
Are you sure its not a space problem with the
compiler temp file directories.

— Michal Vodicka
wrote:
> Try to delete all files in i386 directory manually
> or maybe better delete
> whole objchk/objfre subtrees. If still doesn’t work,
> copy your sources to
> another directory and build again.
>
> Best regards,
>
> Michal Vodicka
> STMicroelectronics Design and Application s.r.o.
> [michal.vodicka@st.com, http:://www.st.com]
>
> > ----------
> > From: xxxxx@emboot.com[SMTP:xxxxx@emboot.com]
> > Reply To: xxxxx@lists.osr.com
> > Sent: Tuesday, May 21, 2002 8:27 PM
> > To: xxxxx@lists.osr.com
> > Subject: [ntdev] Re: Help: Internal error during
> Pass2
> >
> > Thanks for response. But I already tried and it’s
> same.
> >
> > “Roddy, Mark” wrote in
> message
> > news:xxxxx@ntdev…
> > >
> > > Try doing a clean rebuild.
> > >
> > > > -----Original Message-----
> > > > From: Michael Huang [mailto:xxxxx@emboot.com]
> > > > Sent: Tuesday, May 21, 2002 11:59 AM
> > > > To: NT Developers Interest List
> > > > Subject: [ntdev] Help: Internal error during
> Pass2
> > > >
> > > >
> > > > Hi all,
> > > >
> > > > I am using w2k DDK with VC6+SP5+Processor Pack
> on a W2K box.
> > > > When I tried to build my driver, it gets
> following error
> > > > while linking:
> > > >
> > > > “Internal error during Pass2”
> > > >
> > > > I searched google.com and microsoft.com but
> seems no
> > > > fix/workaround works for me. There is a
> message says
> > > > installing VC6 to a dir without space in its
> path. But I
> > > > don’t think it’s the reason because I have a
> dev box before
> > > > works fine with VC6 path having space.
> > > >
> > > > Is there a way to fix it without
> re-installation? If I have
> > > > to reinstall, should I get rid of Processor
> Pack or VC6 SP5?
> > > >
> > > > Any help would be greatly appreciated,
> > > > Michael
> > > >
> > > >
> > > >
> > > > —
> > > > You are currently subscribed to ntdev as:
> > > > xxxxx@stratus.com To unsubscribe send a
> blank email to
> > > > %%email.unsub%%
> > > >
> > >
> > >
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as:
> michal.vodicka@st.com
> > To unsubscribe send a blank email to
> %%email.unsub%%
> >
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
%%email.unsub%%

__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

There is no space in my TMP env. Michael

“Greg White” wrote in message news:xxxxx@ntdev…
>
> Mike,
> Are you sure its not a space problem with the
> compiler temp file directories.
>
> — Michal Vodicka
> wrote:
> > Try to delete all files in i386 directory manually
> > or maybe better delete
> > whole objchk/objfre subtrees. If still doesn’t work,
> > copy your sources to
> > another directory and build again.
> >
> > Best regards,
> >
> > Michal Vodicka
> > STMicroelectronics Design and Application s.r.o.
> > [michal.vodicka@st.com, http:://www.st.com]
> >
> > > ----------
> > > From: xxxxx@emboot.com[SMTP:xxxxx@emboot.com]
> > > Reply To: xxxxx@lists.osr.com
> > > Sent: Tuesday, May 21, 2002 8:27 PM
> > > To: xxxxx@lists.osr.com
> > > Subject: [ntdev] Re: Help: Internal error during
> > Pass2
> > >
> > > Thanks for response. But I already tried and it’s
> > same.
> > >
> > > “Roddy, Mark” wrote in
> > message
> > > news:xxxxx@ntdev…
> > > >
> > > > Try doing a clean rebuild.
> > > >
> > > > > -----Original Message-----
> > > > > From: Michael Huang [mailto:xxxxx@emboot.com]
> > > > > Sent: Tuesday, May 21, 2002 11:59 AM
> > > > > To: NT Developers Interest List
> > > > > Subject: [ntdev] Help: Internal error during
> > Pass2
> > > > >
> > > > >
> > > > > Hi all,
> > > > >
> > > > > I am using w2k DDK with VC6+SP5+Processor Pack
> > on a W2K box.
> > > > > When I tried to build my driver, it gets
> > following error
> > > > > while linking:
> > > > >
> > > > > “Internal error during Pass2”
> > > > >
> > > > > I searched google.com and microsoft.com but
> > seems no
> > > > > fix/workaround works for me. There is a
> > message says
> > > > > installing VC6 to a dir without space in its
> > path. But I
> > > > > don’t think it’s the reason because I have a
> > dev box before
> > > > > works fine with VC6 path having space.
> > > > >
> > > > > Is there a way to fix it without
> > re-installation? If I have
> > > > > to reinstall, should I get rid of Processor
> > Pack or VC6 SP5?
> > > > >
> > > > > Any help would be greatly appreciated,
> > > > > Michael
> > > > >
> > > > >
> > > > >
> > > > > —
> > > > > You are currently subscribed to ntdev as:
> > > > > xxxxx@stratus.com To unsubscribe send a
> > blank email to
> > > > > %%email.unsub%%
> > > > >
> > > >
> > > >
> > >
> > >
> > >
> > > —
> > > You are currently subscribed to ntdev as:
> > michal.vodicka@st.com
> > > To unsubscribe send a blank email to
> > %%email.unsub%%
> > >
> >
> > —
> > You are currently subscribed to ntdev as:
> > xxxxx@yahoo.com
> > To unsubscribe send a blank email to
> %%email.unsub%%
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - your guide to health and wellness
> http://health.yahoo.com
>
>

The DDK link is apparently incompatible in some way with your the
processor pack-generated objs. A quick and dirty fix might be to rename
your %basedir%\bin\link.exe to link.old or something and that should force
build/nmake and friends to pick up the processor pack linker.

Hi all,

I am using w2k DDK with VC6+SP5+Processor Pack on a W2K box. When I tried to
build my driver, it gets following error while linking:

“Internal error during Pass2”

I searched google.com and microsoft.com but seems no fix/workaround works
for me. There is a message says installing VC6 to a dir without space in its
path. But I don’t think it’s the reason because I have a dev box before
works fine with VC6 path having space.

Is there a way to fix it without re-installation? If I have to reinstall,
should I get rid of Processor Pack or VC6 SP5?

Any help would be greatly appreciated,
Michael

We ran into a problem with the processor pack and a 3rd party linker we use
for an embedded product. It appears that the addition of the processor pack
adds " marks around library names that are embedded within the object files
(ie. default libs). We never found a good workaround for this problem.

  • Steve -

-----Original Message-----
From: xxxxx@timesn.com [mailto:xxxxx@timesn.com]
Sent: Tuesday, May 21, 2002 6:06 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Help: Internal error during Pass2

The DDK link is apparently incompatible in some way with your the
processor pack-generated objs. A quick and dirty fix might
be to rename
your %basedir%\bin\link.exe to link.old or something and that
should force
build/nmake and friends to pick up the processor pack linker.

> Hi all,
>
> I am using w2k DDK with VC6+SP5+Processor Pack on a W2K
box. When I tried to
> build my driver, it gets following error while linking:
>
> “Internal error during Pass2”
>
> I searched google.com and microsoft.com but seems no
fix/workaround works
> for me. There is a message says installing VC6 to a dir
without space in its
> path. But I don’t think it’s the reason because I have a
dev box before
> works fine with VC6 path having space.
>
> Is there a way to fix it without re-installation? If I have
to reinstall,
> should I get rid of Processor Pack or VC6 SP5?
>
> Any help would be greatly appreciated,
> Michael


You are currently subscribed to ntdev as: xxxxx@cognex.com
To unsubscribe send a blank email to %%email.unsub%%

I also discovered some problems with the processor pack. I had to save the
MASM and reinstall VC++ 6.0 & SP5 to get it all to work. It is MASM 6.15
and the only way to get it is with the processor pack, but the C-- compiler
is a bummer. Any wonder why the DDK folks now ship one with the DDK? I
remember every update breaking either .SYS or .VxD compiles for many years.
The first bad one I remember was MSC 6.0 from MSC 5.0 where a lot of code
broke and the only fix was to use ‘Od’.

----- Original Message -----
From: “Whitman, Steve”
To: “NT Developers Interest List”
Sent: Tuesday, May 21, 2002 6:22 PM
Subject: [ntdev] Re: Help: Internal error during Pass2

> We ran into a problem with the processor pack and a 3rd party linker we
use
> for an embedded product. It appears that the addition of the processor
pack
> adds " marks around library names that are embedded within the object
files
> (ie. default libs). We never found a good workaround for this problem.
>
> - Steve -
>
> > -----Original Message-----
> > From: xxxxx@timesn.com [mailto:xxxxx@timesn.com]
> > Sent: Tuesday, May 21, 2002 6:06 PM
> > To: NT Developers Interest List
> > Subject: [ntdev] Re: Help: Internal error during Pass2
> >
> >
> > The DDK link is apparently incompatible in some way with your the
> > processor pack-generated objs. A quick and dirty fix might
> > be to rename
> > your %basedir%\bin\link.exe to link.old or something and that
> > should force
> > build/nmake and friends to pick up the processor pack linker.
> >
> > > Hi all,
> > >
> > > I am using w2k DDK with VC6+SP5+Processor Pack on a W2K
> > box. When I tried to
> > > build my driver, it gets following error while linking:
> > >
> > > “Internal error during Pass2”
> > >
> > > I searched google.com and microsoft.com but seems no
> > fix/workaround works
> > > for me. There is a message says installing VC6 to a dir
> > without space in its
> > > path. But I don’t think it’s the reason because I have a
> > dev box before
> > > works fine with VC6 path having space.
> > >
> > > Is there a way to fix it without re-installation? If I have
> > to reinstall,
> > > should I get rid of Processor Pack or VC6 SP5?
> > >
> > > Any help would be greatly appreciated,
> > > Michael
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@cognex.com
> > To unsubscribe send a blank email to %%email.unsub%%
> >
>
> —
> You are currently subscribed to ntdev as: xxxxx@yoshimuni.com
> To unsubscribe send a blank email to %%email.unsub%%
>

Thank a lot, Josef. After renaming the link.exe in W2K DDK, finally my
driver is linked successfully.

Does anyone know if there are any issues using linker from Processor Pack
instead of the one from W2K DDK? I hope not. BTW, the linker version in DDK
is 5.12.8181, the Processor Pack linker version is 6.00.8447.

Michael

wrote in message news:xxxxx@ntdev…
>
> The DDK link is apparently incompatible in some way with your the
> processor pack-generated objs. A quick and dirty fix might be to rename
> your %basedir%\bin\link.exe to link.old or something and that should force
> build/nmake and friends to pick up the processor pack linker.
>
> > Hi all,
> >
> > I am using w2k DDK with VC6+SP5+Processor Pack on a W2K box. When I
tried to
> > build my driver, it gets following error while linking:
> >
> > “Internal error during Pass2”
> >
> > I searched google.com and microsoft.com but seems no fix/workaround
works
> > for me. There is a message says installing VC6 to a dir without space in
its
> > path. But I don’t think it’s the reason because I have a dev box before
> > works fine with VC6 path having space.
> >
> > Is there a way to fix it without re-installation? If I have to
reinstall,
> > should I get rid of Processor Pack or VC6 SP5?
> >
> > Any help would be greatly appreciated,
> > Michael
>
>

> The DDK link is apparently incompatible in some way with your the

processor pack-generated objs. A quick and dirty fix might be to rename
your %basedir%\bin\link.exe to link.old or something and that should force
build/nmake and friends to pick up the processor pack linker.

Sorry, but what is the processor pack?

Max

> The first bad one I remember was MSC 6.0 from MSC 5.0 where a lot of code

broke and the only fix was to use ‘Od’.

Pre-SP version of both VC5 and VC6 had optimizer bugs.
In user-mode IDE-based projects, you can disable only the FPO optimization (the buggy one) manually, and all was OK.

Max

http://msdn.microsoft.com/vstudio/downloads/ppack/default.asp

“Maxim S. Shatskih” wrote in message
news:xxxxx@ntdev…
>
> > The DDK link is apparently incompatible in some way with your the
> > processor pack-generated objs. A quick and dirty fix might be to rename
> > your %basedir%\bin\link.exe to link.old or something and that should
force
> > build/nmake and friends to pick up the processor pack linker.
>
> Sorry, but what is the processor pack?
>
> Max
>
>
>
>

Maxim, it is a patch to Visual Studio/C++ 6.0 that contains more
optimizations for newer processors, an update to MASM 6.15 and a few other
things. I added it and then remove it because it didn’t work, but I did
save the MASM 6.15 version. Look on the M$ site.

----- Original Message -----
From: “Maxim S. Shatskih”
To: “NT Developers Interest List”
Sent: Thursday, May 23, 2002 12:01 PM
Subject: [ntdev] Re: Help: Internal error during Pass2

> > The DDK link is apparently incompatible in some way with your the
> > processor pack-generated objs. A quick and dirty fix might be to rename
> > your %basedir%\bin\link.exe to link.old or something and that should
force
> > build/nmake and friends to pick up the processor pack linker.
>
> Sorry, but what is the processor pack?
>
> Max
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@yoshimuni.com
> To unsubscribe send a blank email to %%email.unsub%%

http://msdn.microsoft.com/vstudio/downloads/ppack/default.asp

Provides limited high-level support for the various SIMD instruction sets
out there and a few other bits and pieces.

On Thu, 23 May 2002, Maxim S. Shatskih wrote:

> The DDK link is apparently incompatible in some way with your the
> processor pack-generated objs. A quick and dirty fix might be to rename
> your %basedir%\bin\link.exe to link.old or something and that should force
> build/nmake and friends to pick up the processor pack linker.

Sorry, but what is the processor pack?

Max


You are currently subscribed to ntdev as: xxxxx@inkvine.fluff.org
To unsubscribe send a blank email to %%email.unsub%%


Peter xxxxx@inkvine.fluff.org
http://www.inkvine.fluff.org/~peter/

logic kicks ass:
(1) Horses have an even number of legs.
(2) They have two legs in back and fore legs in front.
(3) This makes a total of six legs, which certainly is an odd number of
legs for a horse.
(4) But the only number that is both odd and even is infinity.
(5) Therefore, horses must have an infinite number of legs.