public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Available for test: gcc-3.2-1, gcc-mingw-3.2-20020817-1, gcc2-2.95.3-10
@ 2002-08-24 22:45 Christopher Faylor
  2002-08-24 22:48 ` Christopher Faylor
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Christopher Faylor @ 2002-08-24 22:45 UTC (permalink / raw)
  To: cygwin

I've updated gcc to version 3.2 and made it available for testing,
along with all of the pieces from the gcc mingw release (thanks, Danny)
required for the -mno-cygwin switch.  This version is based on the
just released 3.2 version of gcc plus changes in the gcc cygwin/mingw
branch.

I've verified that this version builds cygwin ok and passes Chuck Wilson's
minimal tests.

There is also a gcc2 update, also available only for testing.  This
version has fastcall support from Danny's mingw release and includes
some tweaks that should allow me to eventually reintroduce the alignment
changes in binutils which allow java to work better.

The easiest way to install these packages is to click on the "Exp" button
in the Select packages screen when running setup.exe.

Reports to cygwin@cygwin.com, please.

cgf
__
Please do not send me personal email with cygwin questions.
Use the resources at http://cygwin.com/ .

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Available for test: gcc-3.2-1, gcc-mingw-3.2-20020817-1, gcc2-2.95.3-10
  2002-08-24 22:45 Available for test: gcc-3.2-1, gcc-mingw-3.2-20020817-1, gcc2-2.95.3-10 Christopher Faylor
@ 2002-08-24 22:48 ` Christopher Faylor
  2002-08-25 11:09 ` [gcc 3.2]: undefined symbols when compiling cygwin dll Nicholas Wourms
  2002-08-26  0:05 ` Available for test: gcc-3.2-1, gcc-mingw-3.2-20020817-1, gcc2-2.95.3-10 Dylan Cuthbert
  2 siblings, 0 replies; 12+ messages in thread
From: Christopher Faylor @ 2002-08-24 22:48 UTC (permalink / raw)
  To: cygwin

On Sun, Aug 25, 2002 at 01:45:45AM -0400, Christopher Faylor wrote:
>The easiest way to install these packages is to click on the "Exp" button
>in the Select packages screen when running setup.exe.

After waiting a suitable amount of time for the packages to show up on
mirrors, of course.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gcc 3.2]: undefined symbols when compiling cygwin dll.
  2002-08-24 22:45 Available for test: gcc-3.2-1, gcc-mingw-3.2-20020817-1, gcc2-2.95.3-10 Christopher Faylor
  2002-08-24 22:48 ` Christopher Faylor
@ 2002-08-25 11:09 ` Nicholas Wourms
  2002-08-25 11:20   ` Nicholas Wourms
  2002-08-26  0:05 ` Available for test: gcc-3.2-1, gcc-mingw-3.2-20020817-1, gcc2-2.95.3-10 Dylan Cuthbert
  2 siblings, 1 reply; 12+ messages in thread
From: Nicholas Wourms @ 2002-08-25 11:09 UTC (permalink / raw)
  To: cygwin

Hi,

I just wiped my cygwin install and started fresh with a new install
based on gcc-3.2.  As usual, I installed everything.  I then
proceeded to attempt compiling the cygwin dll (from cvs sources)
using the following flags:

CXXFLAGS="-I/usr/include/c++/3.2" ../src/configure
--prefix=/usr/src/cygwin-src/build/../install

Before I continue, let me state that the tree wasn't broken earlier
today.  Also, no commits have been made on the cygdaemon-branch since
then.  That being said, the build process craps out when it is trying
to link all the object files for the dll.  Gcc states:

/usr/lib/gcc-lib/i686-pc-cygwin/3.2/libgcc.a(w32-shared-ptr.o)(.text+0x60):
undefined reference to `_FindAtomA@4'
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/libgcc.a(w32-shared-ptr.o)(.text+0x131):
undefined reference to `_AddAtomA@4'
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/libgcc.a(w32-shared-ptr.o)(.text+0x18e):
undefined reference to `_GetAtomNameA@12'

I'm not sure if this is a bug or me missing something, but I thought
I'd report it anyway.  Truth be told, I'm not terribly familiar with
the gcc sources, but I'll poke around to see what turns up.  Also,
note that I have verified that I have the proper packages necessary
for gcc-3.2 installed.

Cheers,
Nicholas

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gcc 3.2]: undefined symbols when compiling cygwin dll.
  2002-08-25 11:09 ` [gcc 3.2]: undefined symbols when compiling cygwin dll Nicholas Wourms
@ 2002-08-25 11:20   ` Nicholas Wourms
  2002-08-25 16:44     ` Christopher Faylor
  0 siblings, 1 reply; 12+ messages in thread
From: Nicholas Wourms @ 2002-08-25 11:20 UTC (permalink / raw)
  To: cygwin

--- Nicholas Wourms <nwourms@yahoo.com> wrote:
> Hi,
> 
> I just wiped my cygwin install and started fresh with a new install
> based on gcc-3.2.  As usual, I installed everything.  I then
> proceeded to attempt compiling the cygwin dll (from cvs sources)
> using the following flags:
> 
> CXXFLAGS="-I/usr/include/c++/3.2" ../src/configure
> --prefix=/usr/src/cygwin-src/build/../install
> 
> Before I continue, let me state that the tree wasn't broken earlier
> today.  Also, no commits have been made on the cygdaemon-branch
> since
> then.  That being said, the build process craps out when it is
> trying
> to link all the object files for the dll.  Gcc states:
> 
>
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/libgcc.a(w32-shared-ptr.o)(.text+0x60):
> undefined reference to `_FindAtomA@4'
>
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/libgcc.a(w32-shared-ptr.o)(.text+0x131):
> undefined reference to `_AddAtomA@4'
>
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/libgcc.a(w32-shared-ptr.o)(.text+0x18e):
> undefined reference to `_GetAtomNameA@12'
> 
> I'm not sure if this is a bug or me missing something, but I
> thought
> I'd report it anyway.  Truth be told, I'm not terribly familiar
> with
> the gcc sources, but I'll poke around to see what turns up.  Also,
> note that I have verified that I have the proper packages necessary
> for gcc-3.2 installed.

Ok, I just remembered that those symbols are from kernel32.dll.  So,
I went back and modified the arguments passed by make to compile the
cygwin dll, appending "-lkernel32" to the end of the line.  Executing
the new command does, indeed, resolve the problem.  So I guess one
would need to modify Makefile.in to link the dll with -lkernel32
appended to the list of arguments.

Cheers,
Nicholas

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gcc 3.2]: undefined symbols when compiling cygwin dll.
  2002-08-25 11:20   ` Nicholas Wourms
@ 2002-08-25 16:44     ` Christopher Faylor
  2002-08-25 17:08       ` Nicholas Wourms
  0 siblings, 1 reply; 12+ messages in thread
From: Christopher Faylor @ 2002-08-25 16:44 UTC (permalink / raw)
  To: cygwin

On Sun, Aug 25, 2002 at 11:20:52AM -0700, Nicholas Wourms wrote:
>Ok, I just remembered that those symbols are from kernel32.dll.  So,
>I went back and modified the arguments passed by make to compile the
>cygwin dll, appending "-lkernel32" to the end of the line.  Executing
>the new command does, indeed, resolve the problem.  So I guess one
>would need to modify Makefile.in to link the dll with -lkernel32
>appended to the list of arguments.

This was changed in CVS prior to releasing gcc 3.2.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gcc 3.2]: undefined symbols when compiling cygwin dll.
  2002-08-25 16:44     ` Christopher Faylor
@ 2002-08-25 17:08       ` Nicholas Wourms
  2002-08-26  7:04         ` Conrad Scott
  0 siblings, 1 reply; 12+ messages in thread
From: Nicholas Wourms @ 2002-08-25 17:08 UTC (permalink / raw)
  To: cygwin

--- Christopher Faylor <cgf@redhat.com> wrote:
> On Sun, Aug 25, 2002 at 11:20:52AM -0700, Nicholas Wourms wrote:
> >Ok, I just remembered that those symbols are from kernel32.dll. 
> So,
> >I went back and modified the arguments passed by make to compile
> the
> >cygwin dll, appending "-lkernel32" to the end of the line. 
> Executing
> >the new command does, indeed, resolve the problem.  So I guess one
> >would need to modify Makefile.in to link the dll with -lkernel32
> >appended to the list of arguments.
> 
> This was changed in CVS prior to releasing gcc 3.2.
> 

I guess Conrad hasn't merged these changes from HEAD yet =).  Sorry,
I guess I should have checked the commits list a little more
carefully.

Cheers,
Nicholas

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Available for test: gcc-3.2-1, gcc-mingw-3.2-20020817-1, gcc2-2.95.3-10
  2002-08-24 22:45 Available for test: gcc-3.2-1, gcc-mingw-3.2-20020817-1, gcc2-2.95.3-10 Christopher Faylor
  2002-08-24 22:48 ` Christopher Faylor
  2002-08-25 11:09 ` [gcc 3.2]: undefined symbols when compiling cygwin dll Nicholas Wourms
@ 2002-08-26  0:05 ` Dylan Cuthbert
  2002-08-26  6:19   ` Nicholas Wourms
  2 siblings, 1 reply; 12+ messages in thread
From: Dylan Cuthbert @ 2002-08-26  0:05 UTC (permalink / raw)
  To: cygwin

"Christopher Faylor" <cygwin@cygwin.com> wrote in message
news: 20020825054545.GA1816@redhat.com ...
>
> There is also a gcc2 update, also available only for testing.  This
> version has fastcall support from Danny's mingw release and includes
> some tweaks that should allow me to eventually reintroduce the alignment
> changes in binutils which allow java to work better.
>

Not just java, we're waiting on these binutils so we can use the SSE
extensions for gcc that need to have 128-bit stack alignment working
properly.  At least we hope that's the only problem :-(

Any chance of a pre-release version to test?  We don't use gcc-2 anyway.

---------------------------------
Q-Games, Dylan Cuthbert.
http://www.q-games.com
P2P internet radio - http://www.peercast.org




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Available for test: gcc-3.2-1, gcc-mingw-3.2-20020817-1, gcc2-2.95.3-10
  2002-08-26  0:05 ` Available for test: gcc-3.2-1, gcc-mingw-3.2-20020817-1, gcc2-2.95.3-10 Dylan Cuthbert
@ 2002-08-26  6:19   ` Nicholas Wourms
  2002-08-26 18:11     ` Dylan Cuthbert
  2002-08-26 19:20     ` Dylan Cuthbert
  0 siblings, 2 replies; 12+ messages in thread
From: Nicholas Wourms @ 2002-08-26  6:19 UTC (permalink / raw)
  To: Dylan Cuthbert, cygwin

--- Dylan Cuthbert <dylan@q-games.com> wrote:
> 
> 
> "Christopher Faylor" <cygwin@cygwin.com> wrote in message
> news: 20020825054545.GA1816@redhat.com ...
> >
> > There is also a gcc2 update, also available only for testing. 
> This
> > version has fastcall support from Danny's mingw release and
> includes
> > some tweaks that should allow me to eventually reintroduce the
> alignment
> > changes in binutils which allow java to work better.
> >
> 
> Not just java, we're waiting on these binutils so we can use the
> SSE
> extensions for gcc that need to have 128-bit stack alignment
> working
> properly.  At least we hope that's the only problem :-(
> 
> Any chance of a pre-release version to test?  We don't use gcc-2
> anyway.
> 

Dylan,

I'm sure Chris will release them when he thinks it is appropriate. 
However, you need not wait, for the sources are only a few dozen
keystrokes away...

1)cvs -d:pserver:anoncvs@sources.redhat.com:/cvs/src login
>>>password: anoncvs
2)cvs -z9 -d:pserver:anoncvs@sources.redhat.com:/cvs/src co binutils
3)mkdir build
4)cd build
5)../src/configure --prefix=../install
6)make; make install
7)cd ../install; tar -jcvf /binutils-20020826-1.tar.bz2 *
8)copy the tarball to {temp dir}/binutils and point setup.exe there
to install...

Eight easy steps to get a binutils prerelease.  Easy as Dell, easy as
apple pie =).

Cheers,
Nicholas

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gcc 3.2]: undefined symbols when compiling cygwin dll.
  2002-08-25 17:08       ` Nicholas Wourms
@ 2002-08-26  7:04         ` Conrad Scott
  0 siblings, 0 replies; 12+ messages in thread
From: Conrad Scott @ 2002-08-26  7:04 UTC (permalink / raw)
  To: cygwin

"Nicholas Wourms" <nwourms@yahoo.com> wrote:
> I guess Conrad hasn't merged these changes from HEAD yet =).

Oops!  I was being a bit slow there: it's all nice and up-to-date
now.

// Conrad




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Available for test: gcc-3.2-1, gcc-mingw-3.2-20020817-1, gcc2-2.95.3-10
  2002-08-26  6:19   ` Nicholas Wourms
@ 2002-08-26 18:11     ` Dylan Cuthbert
  2002-08-27  3:52       ` Nicholas Wourms
  2002-08-26 19:20     ` Dylan Cuthbert
  1 sibling, 1 reply; 12+ messages in thread
From: Dylan Cuthbert @ 2002-08-26 18:11 UTC (permalink / raw)
  To: cygwin

Thanks, that's really helpful, I wasn't sure that the cvs development
version of binutils was useable unmodified on cygwin.  I seem to remember
trying to build binutils some time this year and it didn't work, but then
again, now a lot of the other packages have already been updated in cygwin
its probably ok.

Regards

---------------------------------
Q-Games, Dylan Cuthbert.
http://www.q-games.com

"Nicholas Wourms" <nwourms@yahoo.com> wrote in message
news: 20020826131916.94159.qmail@web21010.mail.yahoo.com ...
>
> --- Dylan Cuthbert <dylan@q-games.com> wrote:
> >
> >
> > "Christopher Faylor" <cygwin@cygwin.com> wrote in message
> > news: 20020825054545.GA1816@redhat.com ...
> > >
> > > There is also a gcc2 update, also available only for testing.
> > This
> > > version has fastcall support from Danny's mingw release and
> > includes
> > > some tweaks that should allow me to eventually reintroduce the
> > alignment
> > > changes in binutils which allow java to work better.
> > >
> >
> > Not just java, we're waiting on these binutils so we can use the
> > SSE
> > extensions for gcc that need to have 128-bit stack alignment
> > working
> > properly.  At least we hope that's the only problem :-(
> >
> > Any chance of a pre-release version to test?  We don't use gcc-2
> > anyway.
> >
>
> Dylan,
>
> I'm sure Chris will release them when he thinks it is appropriate.
> However, you need not wait, for the sources are only a few dozen
> keystrokes away...
>
> 1)cvs -d:pserver:anoncvs@sources.redhat.com:/cvs/src login
> >>>password: anoncvs
> 2)cvs -z9 -d:pserver:anoncvs@sources.redhat.com:/cvs/src co binutils
> 3)mkdir build
> 4)cd build
> 5)../src/configure --prefix=../install
> 6)make; make install
> 7)cd ../install; tar -jcvf /binutils-20020826-1.tar.bz2 *
> 8)copy the tarball to {temp dir}/binutils and point setup.exe there
> to install...
>
> Eight easy steps to get a binutils prerelease.  Easy as Dell, easy as
> apple pie =).
>
> Cheers,
> Nicholas
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Finance - Get real-time stock quotes
> http://finance.yahoo.com
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Available for test: gcc-3.2-1, gcc-mingw-3.2-20020817-1, gcc2-2.95.3-10
  2002-08-26  6:19   ` Nicholas Wourms
  2002-08-26 18:11     ` Dylan Cuthbert
@ 2002-08-26 19:20     ` Dylan Cuthbert
  1 sibling, 0 replies; 12+ messages in thread
From: Dylan Cuthbert @ 2002-08-26 19:20 UTC (permalink / raw)
  To: cygwin

"Nicholas Wourms" <nwourms@yahoo.com> wrote in message
news: 20020826131916.94159.qmail@web21010.mail.yahoo.com ...
>
> 5)../src/configure --prefix=../install

this step didn't work - required --prefix=/home/dylan/gnu/binutils-install
(or whatever directory you want but it needed an absolute path)


> 6)make; make install
> 7)cd ../install; tar -jcvf /binutils-20020826-1.tar.bz2 *
> 8)copy the tarball to {temp dir}/binutils and point setup.exe there
> to install...

Did this... it installed into the cygwin root directory rather than into
/usr, ie. I now have "man" and "i686-pc-cygwin/bin" etc all relative to
root.  This doesn't seem right as my paths don't look in there, is there
some other way I am meant to have configured it?

Almost there though.

Regards

--
---------------------------------
Q-Games, Dylan Cuthbert.
http://www.q-games.com
P2P internet radio - http://www.peercast.org





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Available for test: gcc-3.2-1, gcc-mingw-3.2-20020817-1, gcc2-2.95.3-10
  2002-08-26 18:11     ` Dylan Cuthbert
@ 2002-08-27  3:52       ` Nicholas Wourms
  0 siblings, 0 replies; 12+ messages in thread
From: Nicholas Wourms @ 2002-08-27  3:52 UTC (permalink / raw)
  To: Dylan Cuthbert, cygwin

--- Dylan Cuthbert <dylan@q-games.com> wrote:
> Thanks, that's really helpful, I wasn't sure that the cvs
> development
> version of binutils was useable unmodified on cygwin.  I seem to
> remember
> trying to build binutils some time this year and it didn't work,
> but then
> again, now a lot of the other packages have already been updated in
> cygwin
> its probably ok.

Well, actually it isn't working like I thought it would be (by now). 
However, checkout the reply to "binutils (cvs) problems" I just
posted.  Apparently there is an issue which hasn't been fixed in HEAD
yet.  However there is a link to a thread which contains the fix.

Cheers,
Nicholas

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2002-08-27  3:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-24 22:45 Available for test: gcc-3.2-1, gcc-mingw-3.2-20020817-1, gcc2-2.95.3-10 Christopher Faylor
2002-08-24 22:48 ` Christopher Faylor
2002-08-25 11:09 ` [gcc 3.2]: undefined symbols when compiling cygwin dll Nicholas Wourms
2002-08-25 11:20   ` Nicholas Wourms
2002-08-25 16:44     ` Christopher Faylor
2002-08-25 17:08       ` Nicholas Wourms
2002-08-26  7:04         ` Conrad Scott
2002-08-26  0:05 ` Available for test: gcc-3.2-1, gcc-mingw-3.2-20020817-1, gcc2-2.95.3-10 Dylan Cuthbert
2002-08-26  6:19   ` Nicholas Wourms
2002-08-26 18:11     ` Dylan Cuthbert
2002-08-27  3:52       ` Nicholas Wourms
2002-08-26 19:20     ` Dylan Cuthbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).