* Re: [parisc-linux] Recipe
[not found] <Pine.LNX.4.21.0006270919200.16671-100000@front.linuxcare.com.au>
@ 2000-06-28 18:36 ` Brian S. Julin
2000-06-28 23:21 ` Alan Modra
` (2 more replies)
2000-06-28 19:07 ` [parisc-linux] What? no /bin/uname? :-) Brian S. Julin
1 sibling, 3 replies; 18+ messages in thread
From: Brian S. Julin @ 2000-06-28 18:36 UTC (permalink / raw)
To: Alan Modra; +Cc: parisc-linux
On Tue, 27 Jun 2000, Alan Modra wrote:
> Agreed. The list of modules is a bit out-of-date too. You should be
> checking out the binutils-2.10 module, not binutils.
Hmmm... now I'll have to go back over to the ALPHA and see if things
suddenly work there....
> #make gcc
> mkdir pagcc
> cd pagcc
> /usr/src/parisc/gcc/configure --target=hppa1.1-linux --prefix=/usr/parisc \
> --host=i586-linux --disable-nls --with-includes=/usr/parisc/include
> make
This needs to be "make LIBGCC2_INCLUDES=-I/usr/parisc/include" (on my
system at least, which is a Debian slink based Corel Linux 1.1 with slink
updates.) The --with-includes didn't seem to do much, though
maybe I just didn't notice.
The --{disable|without}-nls seems not to be necessary on (most?) Linux
systems.
Anyway, I now have my very own lifimage, thanks. Here's knocking on
wood...
--
Brian
^ permalink raw reply [flat|nested] 18+ messages in thread
* [parisc-linux] What? no /bin/uname? :-)
[not found] <Pine.LNX.4.21.0006270919200.16671-100000@front.linuxcare.com.au>
2000-06-28 18:36 ` [parisc-linux] Recipe Brian S. Julin
@ 2000-06-28 19:07 ` Brian S. Julin
1 sibling, 0 replies; 18+ messages in thread
From: Brian S. Julin @ 2000-06-28 19:07 UTC (permalink / raw)
To: Alan Modra; +Cc: parisc-linux
A big and sincere thanks to everyone who's ever answered a question
of mine on this list -- I've finally and at long last got the sash
prompt!!
--
Brian S. Julin
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [parisc-linux] Recipe
2000-06-28 18:36 ` [parisc-linux] Recipe Brian S. Julin
@ 2000-06-28 23:21 ` Alan Modra
2000-06-29 3:28 ` [parisc-linux] userland test failure chester
2000-08-23 17:28 ` [parisc-linux] disk required? Andrew Park
2 siblings, 0 replies; 18+ messages in thread
From: Alan Modra @ 2000-06-28 23:21 UTC (permalink / raw)
To: Brian S. Julin; +Cc: parisc-linux
On Wed, 28 Jun 2000, Brian S. Julin wrote:
> > /usr/src/parisc/gcc/configure --target=hppa1.1-linux --prefix=/usr/parisc \
> > --host=i586-linux --disable-nls --with-includes=/usr/parisc/include
> > make
>
> This needs to be "make LIBGCC2_INCLUDES=-I/usr/parisc/include" (on my
> system at least, which is a Debian slink based Corel Linux 1.1 with slink
> updates.) The --with-includes didn't seem to do much, though
> maybe I just didn't notice.
You're right. I forgot.
> The --{disable|without}-nls seems not to be necessary on (most?) Linux
> systems.
--disable-nls turns off support for error/warning messages in languages
other than English. If English is not your native language, you will want
--enable-nls. (And turning the option on for native-English speakers
doesn't hurt. It just adds a little code bloat)
Alan Modra
--
Linuxcare. Support for the Revolution.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [parisc-linux] userland test failure
2000-06-28 18:36 ` [parisc-linux] Recipe Brian S. Julin
2000-06-28 23:21 ` Alan Modra
@ 2000-06-29 3:28 ` chester
2000-06-29 4:44 ` Alan Modra
2000-08-23 17:28 ` [parisc-linux] disk required? Andrew Park
2 siblings, 1 reply; 18+ messages in thread
From: chester @ 2000-06-29 3:28 UTC (permalink / raw)
To: parisc-linux; +Cc: chester
Hello ,
I have build the basic environment ,gcc, bintuils and glibc.
I download it from CVS ,and it builds very smooth.
(Thanks for your hack)
But when i compile a test program on it,i got some error:
-------(hello.c)
int main(void)
{
printf("hello world");
return 1;
}
--------
When i use hppa1.1-linux-gcc -g -o hello hello.c,it's fine.
(file hello ==>
hello :ELF 32-bit MSB executable,PA-RISC, version 1,statically linked ,not
stripped)
But if i add -fPIC options,get
/tmp/cc4QxRpc.o : In function 'main'
/mnt/download/PA/hello.c:3: undefined reference to `$global$`
defaulting out
collect2: ld returned 1 exit status
BTW,i using this configure to configur my glibc,
./configure --preifix=/mnt/download/PA/pa-cross --disable-nls
--disable-sanity-checks --disable-shared --host=hppa1.1-linux
--target=hppa1.1-linux --build=i386-linux
--with-headers=/mnt/download/PA=pa-cross --without-nls --disable-profile
Is --disable-shared effect???
Thanks,
Chester
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [parisc-linux] userland test failure
2000-06-29 3:28 ` [parisc-linux] userland test failure chester
@ 2000-06-29 4:44 ` Alan Modra
2000-06-29 5:01 ` chester
2000-06-29 15:46 ` David Huggins-Daines
0 siblings, 2 replies; 18+ messages in thread
From: Alan Modra @ 2000-06-29 4:44 UTC (permalink / raw)
To: chester; +Cc: parisc-linux
On Thu, 29 Jun 2000 chester@linux.org.tw wrote:
> But if i add -fPIC options,get
>
> /tmp/cc4QxRpc.o : In function 'main'
> /mnt/download/PA/hello.c:3: undefined reference to `$global$`
-fPIC and -shared are not supported at the moment, even with the newer
binutils-2.10 module available from puffin CVS. With binutils-2.10,
you'll get a different error if you compile with -fPIC, something like:
"cannot handle relocation R_PARISC_DLTIND21L for .LC0 at 0x28 in .text"
Alan Modra
--
Linuxcare. Support for the Revolution.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [parisc-linux] userland test failure
2000-06-29 4:44 ` Alan Modra
@ 2000-06-29 5:01 ` chester
2000-06-29 5:12 ` chester
2000-06-29 5:17 ` Alan Modra
2000-06-29 15:46 ` David Huggins-Daines
1 sibling, 2 replies; 18+ messages in thread
From: chester @ 2000-06-29 5:01 UTC (permalink / raw)
To: Alan Modra; +Cc: chester, parisc-linux
Thanks,
Could you give me a hint to fix that(Maybe from source code),
Chester
On Thu, 29 Jun 2000, Alan Modra wrote:
> On Thu, 29 Jun 2000 chester@linux.org.tw wrote:
>
> > But if i add -fPIC options,get
> >
> > /tmp/cc4QxRpc.o : In function 'main'
> > /mnt/download/PA/hello.c:3: undefined reference to `$global$`
>
> -fPIC and -shared are not supported at the moment, even with the newer
> binutils-2.10 module available from puffin CVS. With binutils-2.10,
> you'll get a different error if you compile with -fPIC, something like:
> "cannot handle relocation R_PARISC_DLTIND21L for .LC0 at 0x28 in .text"
>
> Alan Modra
> --
> Linuxcare. Support for the Revolution.
>
> ---------------------------------------------------------------------------
> To unsubscribe: send e-mail to parisc-linux-request@thepuffingroup.com with
> `unsubscribe' as the subject.
>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [parisc-linux] userland test failure
2000-06-29 5:01 ` chester
@ 2000-06-29 5:12 ` chester
2000-06-29 5:17 ` Alan Modra
1 sibling, 0 replies; 18+ messages in thread
From: chester @ 2000-06-29 5:12 UTC (permalink / raw)
To: chester; +Cc: Alan Modra, parisc-linux
I should describe my situation more clear!!
I have a pa-risc box that didn't have MMU in it.i need this compile option
-fPIC to test some program.
(My pa-risc box is 1.1 architecture without MMU and 902xx CPU)
Thanks,
On Thu, 29 Jun 2000 chester@linux.org.tw wrote:
> Thanks,
> Could you give me a hint to fix that(Maybe from source code),
>
>
> Chester
>
>
> On Thu, 29 Jun 2000, Alan Modra wrote:
>
> > On Thu, 29 Jun 2000 chester@linux.org.tw wrote:
> >
> > > But if i add -fPIC options,get
> > >
> > > /tmp/cc4QxRpc.o : In function 'main'
> > > /mnt/download/PA/hello.c:3: undefined reference to `$global$`
> >
> > -fPIC and -shared are not supported at the moment, even with the newer
> > binutils-2.10 module available from puffin CVS. With binutils-2.10,
> > you'll get a different error if you compile with -fPIC, something like:
> > "cannot handle relocation R_PARISC_DLTIND21L for .LC0 at 0x28 in .text"
> >
> > Alan Modra
> > --
> > Linuxcare. Support for the Revolution.
> >
> > ---------------------------------------------------------------------------
> > To unsubscribe: send e-mail to parisc-linux-request@thepuffingroup.com with
> > `unsubscribe' as the subject.
> >
>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [parisc-linux] userland test failure
2000-06-29 5:01 ` chester
2000-06-29 5:12 ` chester
@ 2000-06-29 5:17 ` Alan Modra
1 sibling, 0 replies; 18+ messages in thread
From: Alan Modra @ 2000-06-29 5:17 UTC (permalink / raw)
To: chester; +Cc: parisc-linux
On Thu, 29 Jun 2000 chester@linux.org.tw wrote:
> Could you give me a hint to fix that(Maybe from source code),
It needs more than just a hint and a tweak or two! Support for -fPIC will
roughly double the amount of code in bfd/elf32-hppa.c You will be much
better off compiling without -fPIC for the time being. Expect a binutils
with -fPIC support in the next few weeks.
> On Thu, 29 Jun 2000, Alan Modra wrote:
> > -fPIC and -shared are not supported at the moment, even with the newer
> > binutils-2.10 module available from puffin CVS. With binutils-2.10,
Alan Modra
--
Linuxcare. Support for the Revolution.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [parisc-linux] userland test failure
2000-06-29 4:44 ` Alan Modra
2000-06-29 5:01 ` chester
@ 2000-06-29 15:46 ` David Huggins-Daines
2000-06-29 16:16 ` David Huggins-Daines
2000-06-29 23:13 ` Alan Modra
1 sibling, 2 replies; 18+ messages in thread
From: David Huggins-Daines @ 2000-06-29 15:46 UTC (permalink / raw)
To: Alan Modra; +Cc: parisc-linux
Alan Modra <alan@linuxcare.com.au> writes:
> -fPIC and -shared are not supported at the moment, even with the newer
> binutils-2.10 module available from puffin CVS. With binutils-2.10,
> you'll get a different error if you compile with -fPIC, something like:
> "cannot handle relocation R_PARISC_DLTIND21L for .LC0 at 0x28 in .text"
Would I be correct in assuming that the GCC portion of supporting
-fPIC is more or less done, it's just that the linker can't handle the
relocations generated?
--
dhd@linuxcare.com, http://www.linuxcare.com/
Linuxcare. Support for the revolution.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [parisc-linux] userland test failure
2000-06-29 15:46 ` David Huggins-Daines
@ 2000-06-29 16:16 ` David Huggins-Daines
2000-06-29 23:13 ` Alan Modra
1 sibling, 0 replies; 18+ messages in thread
From: David Huggins-Daines @ 2000-06-29 16:16 UTC (permalink / raw)
To: Alan Modra; +Cc: parisc-linux
David Huggins-Daines <dhd@linuxcare.com> writes:
> Would I be correct in assuming that the GCC portion of supporting
> -fPIC is more or less done, it's just that the linker can't handle the
> relocations generated?
Oh, right, that's a DLT relative reloc. I see what the problem is now :-)
--
David Huggins-Daines - dhd@debian.org
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [parisc-linux] userland test failure
2000-06-29 15:46 ` David Huggins-Daines
2000-06-29 16:16 ` David Huggins-Daines
@ 2000-06-29 23:13 ` Alan Modra
1 sibling, 0 replies; 18+ messages in thread
From: Alan Modra @ 2000-06-29 23:13 UTC (permalink / raw)
To: David Huggins-Daines; +Cc: parisc-linux
On 29 Jun 2000, David Huggins-Daines wrote:
> Would I be correct in assuming that the GCC portion of supporting
> -fPIC is more or less done, it's just that the linker can't handle the
> relocations generated?
Yup.
--
Linuxcare. Support for the Revolution.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [parisc-linux] disk required?
2000-08-23 18:02 ` Andrew Park
@ 2000-08-23 17:08 ` Matthew Wilcox
2000-08-23 18:10 ` Switch to serial console ( was Re: [parisc-linux] disk required? ) Matt Taggart
1 sibling, 0 replies; 18+ messages in thread
From: Matthew Wilcox @ 2000-08-23 17:08 UTC (permalink / raw)
To: Andrew Park; +Cc: Andrew Shugg, parisc-linux
On Wed, Aug 23, 2000 at 02:02:07PM -0400, Andrew Park wrote:
> I asked that because I wanted to narrow down the possibility of my
> machine's inability to boot from the net. It gets to a part where it says
>
> pdc_cons die !!
this is rapidly becoming a FAQ... maybe I should add it to the FAQ page
(do you all promise to look at it if I do?)
...
there you go:
6.I'm using the Alpha 0.1 release CD and the machine stops after printing
pdc_cons die !!
what's going on?
The kernel on the CD is set up for serial port console. If you attach a
serial cable to the back of your machine then you should see messages
appearing on that console instead. You should be able to replace this
kernel with one which uses the STI console instead.
--
Revolutions do not require corporate support.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [parisc-linux] disk required?
2000-06-28 18:36 ` [parisc-linux] Recipe Brian S. Julin
2000-06-28 23:21 ` Alan Modra
2000-06-29 3:28 ` [parisc-linux] userland test failure chester
@ 2000-08-23 17:28 ` Andrew Park
2000-08-23 17:48 ` Andrew Shugg
2 siblings, 1 reply; 18+ messages in thread
From: Andrew Park @ 2000-08-23 17:28 UTC (permalink / raw)
To: parisc-linux
Hi,
Just wondering... Is there a disk space requirement for booting from
network (NFSROOT)? Or could I do it without a disk?
Thanks
Andrew Park
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [parisc-linux] disk required?
2000-08-23 17:28 ` [parisc-linux] disk required? Andrew Park
@ 2000-08-23 17:48 ` Andrew Shugg
2000-08-23 18:02 ` Andrew Park
0 siblings, 1 reply; 18+ messages in thread
From: Andrew Shugg @ 2000-08-23 17:48 UTC (permalink / raw)
To: parisc-linux
Andrew Park said:
> Hi,
>
> Just wondering... Is there a disk space requirement for booting from
> network (NFSROOT)? Or could I do it without a disk?
> Thanks
>
> Andrew Park
There isn't any requirement for locally attached devices to have
readable filesystems if you can boot and nfs-root from the network.
The local disks in my HP hold HP/UX on them, I just network boot to test
Linux kernels. This is essentially the same thing as having no disk at
all as far as Linux is concerned. =)
Andrew.
--
Andrew Shugg <andrew@neep.com.au> http://www.neep.com.au/
"Just remember Basil, there's always someone worse off than yourself."
"Oh, really? I'd like to meet him ... I could do with a good laugh."
[ Sybil and Basil Fawlty, "Fawlty Towers" ]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [parisc-linux] disk required?
2000-08-23 17:48 ` Andrew Shugg
@ 2000-08-23 18:02 ` Andrew Park
2000-08-23 17:08 ` Matthew Wilcox
2000-08-23 18:10 ` Switch to serial console ( was Re: [parisc-linux] disk required? ) Matt Taggart
0 siblings, 2 replies; 18+ messages in thread
From: Andrew Park @ 2000-08-23 18:02 UTC (permalink / raw)
To: Andrew Shugg; +Cc: parisc-linux
On Thu, 24 Aug 2000, Andrew Shugg wrote:
> There isn't any requirement for locally attached devices to have
> readable filesystems if you can boot and nfs-root from the network.
>
> The local disks in my HP hold HP/UX on them, I just network boot to test
> Linux kernels. This is essentially the same thing as having no disk at
> all as far as Linux is concerned. =)
Thanks for the reply.
I asked that because I wanted to narrow down the possibility of my
machine's inability to boot from the net. It gets to a part where it says
pdc_cons die !!
then it stops. On the server, tftp log says "Connection Refused", but
the funny thing is that the client refused the connection. I traced
the code where it printed "connection refused" and verified that the
server actually sent some data (do not know which file) and tried to
receive acknowledgement for it and failed to get any.
Do you have any ideas?
Thanks
Andrew Park
________________________________________________________________________
CDFlab Systems Administrator www.cdf.utoronto.ca |
GnuPG Signature www.cdf.utoronto.ca/~apark/public_key.txt |
------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 18+ messages in thread
* Switch to serial console ( was Re: [parisc-linux] disk required? )
2000-08-23 18:02 ` Andrew Park
2000-08-23 17:08 ` Matthew Wilcox
@ 2000-08-23 18:10 ` Matt Taggart
2000-08-23 19:05 ` Andrew Park
1 sibling, 1 reply; 18+ messages in thread
From: Matt Taggart @ 2000-08-23 18:10 UTC (permalink / raw)
To: Andrew Park; +Cc: Andrew Shugg, parisc-linux
Andrew Park writes...
> Thanks for the reply.
> I asked that because I wanted to narrow down the possibility of my
> machine's inability to boot from the net. It gets to a part where it says
>
> pdc_cons die !!
>
> then it stops. On the server, tftp log says "Connection Refused", but
> the funny thing is that the client refused the connection. I traced
> the code where it printed "connection refused" and verified that the
> server actually sent some data (do not know which file) and tried to
> receive acknowledgement for it and failed to get any.
> Do you have any ideas?
This is the point where the kernel switches over to serial console. The
machine is still running, just attach a serial console or use minicom or
something.
Unfortunately this is quickly becoming a FAQ. I wish we had documented it in
the CD README. It doesn't help that the last message you see is "pdc_cons die".
--
Matt Taggart
taggart@fc.hp.com
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Switch to serial console ( was Re: [parisc-linux] disk required? )
2000-08-23 18:10 ` Switch to serial console ( was Re: [parisc-linux] disk required? ) Matt Taggart
@ 2000-08-23 19:05 ` Andrew Park
2000-08-23 19:21 ` Jack Perdue
0 siblings, 1 reply; 18+ messages in thread
From: Andrew Park @ 2000-08-23 19:05 UTC (permalink / raw)
To: Matt Taggart; +Cc: parisc-linux
On Wed, 23 Aug 2000, Matt Taggart wrote:
> This is the point where the kernel switches over to serial console. The
> machine is still running, just attach a serial console or use minicom or
> something.
>
> Unfortunately this is quickly becoming a FAQ. I wish we had documented it in
> the CD README. It doesn't help that the last message you see is "pdc_cons die".
hmmm.... I found the following quote from
http://www.oswg.org/oswg-nightly/oswg/en_US.ISO_8859-1/articles/parisc-linux/parisc-linux-boot.html#CONSOLES
<quote>
3.1.2.3.3. How can I change the boot console to serial on a 712?
Unfortunately, you can't. Although 712s are configured for in-house
HP development to use serial console, this configuration isn't
supported in the field. You have to use a graphics console for 712s.
</quote>
I have 712/80 (sorry, I should have mentioned earlier). Would I still
be able to use a serial console despite what the documentation says?
Thanks
Andrew Park
________________________________________________________________________
CDFlab Systems Administrator www.cdf.utoronto.ca |
GnuPG Signature www.cdf.utoronto.ca/~apark/public_key.txt |
------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Switch to serial console ( was Re: [parisc-linux] disk required? )
2000-08-23 19:05 ` Andrew Park
@ 2000-08-23 19:21 ` Jack Perdue
0 siblings, 0 replies; 18+ messages in thread
From: Jack Perdue @ 2000-08-23 19:21 UTC (permalink / raw)
To: Andrew Park; +Cc: parisc-linux
Howdy Andrew,
FWIW, see:
http://puffin.external.hp.com/mailing-lists/parisc-linux/1999/12-Dec/0091.html
I was able to get my 712/60's console to the serial port using the steps
there...
jack
j-perdue@tamu.edu
At 03:05 PM 08/23/2000 -0400, you wrote:
>On Wed, 23 Aug 2000, Matt Taggart wrote:
>
> > This is the point where the kernel switches over to serial console. The
> > machine is still running, just attach a serial console or use minicom or
> > something.
> >
> > Unfortunately this is quickly becoming a FAQ. I wish we had documented
> it in
> > the CD README. It doesn't help that the last message you see is
> "pdc_cons die".
>
>
>hmmm.... I found the following quote from
>
>http://www.oswg.org/oswg-nightly/oswg/en_US.ISO_8859-1/articles/parisc-linux/parisc-linux-boot.html#CONSOLES
>
><quote>
>3.1.2.3.3. How can I change the boot console to serial on a 712?
>
> Unfortunately, you can't. Although 712s are configured for in-house
> HP development to use serial console, this configuration isn't
> supported in the field. You have to use a graphics console for 712s.
></quote>
>
>I have 712/80 (sorry, I should have mentioned earlier). Would I still
>be able to use a serial console despite what the documentation says?
>Thanks
>
>
>Andrew Park
>
>________________________________________________________________________
>CDFlab Systems Administrator www.cdf.utoronto.ca |
>GnuPG Signature www.cdf.utoronto.ca/~apark/public_key.txt |
>------------------------------------------------------------------------
>
>
>---------------------------------------------------------------------------
>To unsubscribe: send e-mail to parisc-linux-request@thepuffingroup.com with
>`unsubscribe' as the subject.
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2000-08-23 19:23 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <Pine.LNX.4.21.0006270919200.16671-100000@front.linuxcare.com.au>
2000-06-28 18:36 ` [parisc-linux] Recipe Brian S. Julin
2000-06-28 23:21 ` Alan Modra
2000-06-29 3:28 ` [parisc-linux] userland test failure chester
2000-06-29 4:44 ` Alan Modra
2000-06-29 5:01 ` chester
2000-06-29 5:12 ` chester
2000-06-29 5:17 ` Alan Modra
2000-06-29 15:46 ` David Huggins-Daines
2000-06-29 16:16 ` David Huggins-Daines
2000-06-29 23:13 ` Alan Modra
2000-08-23 17:28 ` [parisc-linux] disk required? Andrew Park
2000-08-23 17:48 ` Andrew Shugg
2000-08-23 18:02 ` Andrew Park
2000-08-23 17:08 ` Matthew Wilcox
2000-08-23 18:10 ` Switch to serial console ( was Re: [parisc-linux] disk required? ) Matt Taggart
2000-08-23 19:05 ` Andrew Park
2000-08-23 19:21 ` Jack Perdue
2000-06-28 19:07 ` [parisc-linux] What? no /bin/uname? :-) Brian S. Julin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.