Closed Bug 188247 Opened 22 years ago Closed 21 years ago

Build LDAP with GCC 3.x on OS/2

Categories

(Directory :: LDAP C SDK, defect)

x86
OS/2
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jhpedemonte, Assigned: mcs)

References

Details

Attachments

(1 file, 5 obsolete files)

Derived from Meta bug 177789.  This bug deals specifically with patches to make
LDAP build on OS/2 using GCC 3.0.3.
Attached patch preliminary patch (obsolete) — Splinter Review
First patch.  LDAP builds as part of Mozilla, but has not been tested.
Attached patch patch v2 (obsolete) — Splinter Review
General code cleanup.
Attachment #110986 - Attachment is obsolete: true
Attached patch patch v2.1 (obsolete) — Splinter Review
Define BSD_SELECT in the correct place.
Attachment #116129 - Attachment is obsolete: true
Attached patch patch v2.2 (obsolete) — Splinter Review
More cleanup.
Attachment #116254 - Attachment is obsolete: true
Summary: Build LDAP with GCC 3.0.3 on OS/2 → Build LDAP with GCC 3.x on OS/2
Attached patch patch v2.3 (obsolete) — Splinter Review
Cleanup
Attachment #117256 - Attachment is obsolete: true
Attachment #118056 - Flags: review?(mcs)
Comment on attachment 118056 [details] [diff] [review]
patch v2.3

I am not an expert on configure, but this change worries me a little:

@@ -459,7 +459,7 @@
 if test "$GXX" = "yes"; then
     GNU_CXX=1
 fi
-if test "`echo | $AS -V 2>&1 | grep -c GNU`" != "0"; then
+if test "`echo | $AS -v 2>&1 | grep -c GNU`" != "0"; then
     GNU_AS=1
 fi
 rm -f a.out

This affects all platforms, right? At least for some versions of as (e.g.,
Sun's) -v fails but -V works.
That's quite interesting.  For us, "-V" doesn't work, but "-v" does.  The issue
that I was having (if I am recalling this correctly) was that "-pipe" support
was not getting set for NSPR and LDAP, but was working in the browser tree. 
Eventually, with Seawood's help, we noticed that the browser configure.in used
"-v", while NSPR and LDAP used "-V".  So does Sun have a problem with the
browser configure.in?
Attached patch patch v2.4Splinter Review
Fix Visual Age bustage.
Attachment #118056 - Attachment is obsolete: true
Attachment #118078 - Flags: review?(mcs)
Attachment #118056 - Flags: review?(mcs)
As far as I know there are no problems related to the browser configure.in on
Solaris... I suppose it would only show up if you do not use the GNU tools,
which most people do.
Comment on attachment 118078 [details] [diff] [review]
patch v2.4

OK.
Attachment #118078 - Flags: review?(mcs) → review+
Comment on attachment 118078 [details] [diff] [review]
patch v2.4

Seeking sr= for checkin into branch
Attachment #118078 - Flags: superreview?(dmose)
Comment on attachment 118078 [details] [diff] [review]
patch v2.4

sr=dmose
Attachment #118078 - Flags: superreview?(dmose) → superreview+
Note that a generated configure needs to be checked in as well.

After you've landed this on the LDAP client branch, please reassign to me or mcs
and one of us will land it on the LDAP trunk so that these changes don't get
lost whenever we decide to move to a new client branch.
I checked in everything except the generated configure.

I grabbed the "correct" autoconf from cygwin, but it did not generate a
configure that corresponded to the configure that the Mozilla build is generating.

I need to take to cls about getting the right version of autoconf.

This shouldn't matter from a Mozilla build perspective. I will get this resolved
today.
Spam for bug 129472
QA Contact: nobody → nobody
Let me know when the generated configure is checked into
ldapcsdk_50_client_branch and then I will commit all of this to the trunk.
Mark:  For whatever reason, we could never generate a correct configure script.
 We used multiple versions of autoconf, all of which produced vastly different
files than what is currently checked in.  It has been a while, so I don't know
if someone already checked in an updated configure.  If this is not the case,
could you check in the generated configure script for us? 
Unfortunately I am not sure I can generate the correct configure script. I'll
give it a try when I get a chance.
Marking this fixed, since the changes to configure.in have now been incorporated
into later versions of configure.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
I don't think this ever got checked in on the LDAP trunk...
The patch has been checked in on the ldap trunk now.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: