Issue 11261 - Internal error while building javadep.exe
Summary: Internal error while building javadep.exe
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: 644
Hardware: PC Windows 2000
: P3 Trivial (vote)
Target Milestone: OOo 1.1 Beta
Assignee: hennes.rohling
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks: 11319
  Show dependency tree
 
Reported: 2003-02-06 19:45 UTC by quetschke
Modified: 2003-02-21 12:14 UTC (History)
3 users (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
This patch "fixes" the ICE (474 bytes, patch)
2003-02-06 19:46 UTC, quetschke
no flags Details | Diff
Patch for solenv/inc/wnt.mk (1014 bytes, patch)
2003-02-10 16:50 UTC, quetschke
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description quetschke 2003-02-06 19:45:30 UTC
Branch: cws_srx644_ooo20030223 with w32/4nt

While building soltools the following error occurs:

------------------------------
Making:..\wntmsci7.pro\bin\javadep.exe
link /COMMENT:"soltools_644______"  /MACHINE:IX86 @d:\temp\mk13i
Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

/MAP /NODEFAULTLIB /OPT:NOREF /RELEASE /DEBUG:notmapped,full /SUBSYSTEM:CONSOLE
/BASE:0x1b000000 -out:..\wntmsci7.pro\bin\javadep.exe
-map:..\wntmsci7.pro\misc\javadep.map ..\wntmsci7.pro\obj\javadep.obj msvcrt.lib
kernel32.lib user32.lib oldnames.lib

javadep.obj : error : Internal error during Pass2

  ExceptionCode            = C0000005
  ExceptionFlags           = 00000000
  ExceptionAddress         = 10323E4D
  NumberParameters         = 00000002
  ExceptionInformation[ 0] = 00000000
  ExceptionInformation[ 1] = 00001006

CONTEXT:
  Eax    = 00001004  Esp    = 0012F050
  Ebx    = 00348074  Ebp    = 0012F08C
  Ecx    = 00001006  Esi    = 0012F068
  Edx    = 00000000  Edi    = 00001003
  Eip    = 10323E4D  EFlags = 00010246
  SegCs  = 0000001B  SegDs  = 00000023
  SegSs  = 00000023  SegEs  = 00000023
  SegFs  = 00000038  SegGs  = 00000000
  Dr0    = 0012F050  Dr3    = 00348074
  Dr1    = 0012F08C  Dr6    = 00001006
  Dr2    = 00000004  Dr7    = 00000000
---*TG_SLO.MK*---
dmake.exe:  Error code 254, while making '..\wntmsci7.pro\bin\javadep.exe'
dmake.exe:  '..\wntmsci7.pro\bin\javadep.exe' removed.

ERROR: Error 65280 occurred while making /w1/cws_srx644_ooo20030223/soltools/javadep
Comment 1 quetschke 2003-02-06 19:46:52 UTC
Created attachment 4593 [details]
This patch "fixes" the ICE
Comment 2 quetschke 2003-02-06 19:50:51 UTC
CC'ing ause, because:

2003/01/23 17:01:03 hjs 1.45.14.1: #106917# chng. compiler and linker
switches

introduced the compiler switch /DEBUG:notmapped,full .
Comment 3 Martin Hollmichel 2003-02-06 22:41:19 UTC
just linking with debug should not lead to to internal errors, quite
mysterious.

reassigning to mh.
Comment 4 Martin Hollmichel 2003-02-10 15:10:03 UTC
this problem seems to be reprodcable when doing a windows build on a
local hard disk and the APPxTARGET or SHLxTARGET equals TARGET.

the compiler uses -Fd$(MISC)$/$(TARGET).pdb and the linker wants to
write the same file.
Comment 5 Martin Hollmichel 2003-02-10 15:13:16 UTC
I would suggest to change the -Fd$(MISC)$/$(TARGET).PDB to something
line -Fd$(MISC)$/_ooo_st_$(TARGET).PDB in solenv/inc/wnt.mk.

vq: can you try this ?
Comment 6 quetschke 2003-02-10 16:50:09 UTC
Created attachment 4636 [details]
Patch for solenv/inc/wnt.mk
Comment 7 quetschke 2003-02-10 16:51:16 UTC
Hi,

I applied the previous patch and started a fresh build. It passed
soltools without problems.
Comment 8 foskey 2003-02-12 12:15:48 UTC
Please close if this is no longer an issue.
Comment 9 quetschke 2003-02-12 16:22:01 UTC
It works, OK to commit?
Comment 10 foskey 2003-02-12 20:12:46 UTC
First patch is approved.

Second patch we need confirmation that this patch is OK with the Star
Office developers.  We have to ensure we don't break their build.
Comment 11 quetschke 2003-02-13 08:07:28 UTC
Hi Ken,
>First patch is approved.
this is just a workaround and Martin proposed the second patch.
I'd rather wait for a comment from him or ause if it's ok
in Hamburg environment and then use the second version.

The roadmap says reintegrating at 16/02/2002, that's Sunday, if they
find no time for this issue in Hamburg I will commit the approved
first patch on Friday to have a buildable branch for WNT when the
branch is closed.
Comment 12 Martin Hollmichel 2003-02-16 15:14:12 UTC
mh->hro, can you give approval for this, from my side this seems to be ok.
Comment 13 hennes.rohling 2003-02-17 11:35:40 UTC
Approved.
Comment 14 Martin Hollmichel 2003-02-17 16:54:32 UTC
mh->vq: please commit.
Comment 15 quetschke 2003-02-17 17:19:53 UTC
Committed - Done!
Comment 16 Martin Hollmichel 2003-02-17 17:28:09 UTC
in cws_srx644_ooo20030223
Comment 17 hennes.rohling 2003-02-21 12:14:03 UTC
Closed