all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* GCC and Chicken-Scheme compilation
@ 2020-01-30 14:45 Ekaitz at ElenQ Technology
  2020-01-30 15:33 ` pelzflorian (Florian Pelz)
  0 siblings, 1 reply; 7+ messages in thread
From: Ekaitz at ElenQ Technology @ 2020-01-30 14:45 UTC (permalink / raw)
  To: help-guix\@gnu.org

Hi,

I had some issues with the chicken compiler. I attach later the results of the compilation. But the summary is the following:

1. I create a hello world chicken program
2. Run the compiler: csc hello-world.scm
3. Errors appear: libchicken.so: undefined reference to `log@GLIBC_2.29'
4. If I get the gcc command that csc runs internally and remove the linking of math (removing -lm) it compiles and runs perfectly.

What am I missing here? Does GLIBC 2.29 have any issues with the math? Do I miss any extra dep?

Here's a copy of my bash session:

``` bash
ekaitz ~/projects/chicken$ ls
hello.scm

ekaitz ~/projects/chicken$ csc hello.scm
/gnu/store/k85zs837x6pr61l37gfz92h3nljr8ka7-chicken-5.0.0/lib/libchicken.so: undefined reference to `exp@GLIBC_2.29'
/gnu/store/k85zs837x6pr61l37gfz92h3nljr8ka7-chicken-5.0.0/lib/libchicken.so: undefined reference to `log@GLIBC_2.29'
/gnu/store/k85zs837x6pr61l37gfz92h3nljr8ka7-chicken-5.0.0/lib/libchicken.so: undefined reference to `log2@GLIBC_2.29'
/gnu/store/k85zs837x6pr61l37gfz92h3nljr8ka7-chicken-5.0.0/lib/libchicken.so: undefined reference to `pow@GLIBC_2.29'
collect2: error: ld returned 1 exit status

Error: shell command terminated with non-zero exit status 256: 'gcc' 'hello.o' -o 'hello' -L/gnu/store/k85zs837x6pr61l37gfz92h3nljr8ka7-chicken-5.0.0/lib -Wl,-R/gnu/store/k85zs837x6pr61l37gfz92h3nljr8ka7-chicken-5.0.0/lib -lchicken -lm -ldl

ekaitz ~/projects/chicken$ gcc 'hello.o' -o 'hello' -L/gnu/store/k85zs837x6pr61l37gfz92h3nljr8ka7-chicken-5.0.0/lib -Wl,-R/gnu/store/k85zs837x6pr61l37gfz92h3nljr8ka7-chicken-5.0.0/lib -lchicken -ldl

ekaitz ~/projects/chicken$ ./hello
Chicken
```


Thank you,

Ekaitz


ElenQ Technology
Ethical Innovation

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

* Re: GCC and Chicken-Scheme compilation
  2020-01-30 14:45 GCC and Chicken-Scheme compilation Ekaitz at ElenQ Technology
@ 2020-01-30 15:33 ` pelzflorian (Florian Pelz)
  2020-01-30 16:34   ` Ekaitz at ElenQ Technology
  0 siblings, 1 reply; 7+ messages in thread
From: pelzflorian (Florian Pelz) @ 2020-01-30 15:33 UTC (permalink / raw)
  To: Ekaitz at ElenQ Technology; +Cc: help-guix\@gnu.org

On Thu, Jan 30, 2020 at 02:45:44PM +0000, Ekaitz at ElenQ Technology wrote:
> Hi,
> 
> I had some issues with the chicken compiler. I attach later the results of the compilation. But the summary is the following:
> 
> 1. I create a hello world chicken program
> 2. Run the compiler: csc hello-world.scm
> 3. Errors appear: libchicken.so: undefined reference to `log@GLIBC_2.29'
> 4. If I get the gcc command that csc runs internally and remove the linking of math (removing -lm) it compiles and runs perfectly.
> 

FWIW this works for me (with a slightly outdated Guix System):

florian ~$ guix environment --ad-hoc chicken
florian ~ [env]$ cd /tmp
florian /tmp [env]$ cat a.scm 
(display (exp 2))
(newline)
florian /tmp [env]$ csc a.scm
florian /tmp [env]$ ./a
7.38905609893065

Is your program more complicated?  I do not really know Chicken, maybe
some GCC search path is wrong.  Don’t know.

Regards,
Florian

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

* Re: GCC and Chicken-Scheme compilation
  2020-01-30 15:33 ` pelzflorian (Florian Pelz)
@ 2020-01-30 16:34   ` Ekaitz at ElenQ Technology
  2020-01-30 18:51     ` pelzflorian (Florian Pelz)
  0 siblings, 1 reply; 7+ messages in thread
From: Ekaitz at ElenQ Technology @ 2020-01-30 16:34 UTC (permalink / raw)
  To: pelzflorian (Florian Pelz); +Cc: help-guix\\@gnu.org

Hi,

My program is just a `(print "Chicken")`.

I just made a C program that loads math.h and makes a log and it works well but the Chicken compiler still fails.

Can you show me your LIBRARY_PATH?

Mine might be wrong...

Thank you very much!


ElenQ Technology
Ethical Innovation

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, January 30, 2020 4:33 PM, pelzflorian (Florian Pelz) <pelzflorian@pelzflorian.de> wrote:

> On Thu, Jan 30, 2020 at 02:45:44PM +0000, Ekaitz at ElenQ Technology wrote:
>
> > Hi,
> > I had some issues with the chicken compiler. I attach later the results of the compilation. But the summary is the following:
> >
> > 1.  I create a hello world chicken program
> > 2.  Run the compiler: csc hello-world.scm
> > 3.  Errors appear: libchicken.so: undefined reference to `log@GLIBC_2.29'
> > 4.  If I get the gcc command that csc runs internally and remove the linking of math (removing -lm) it compiles and runs perfectly.
>
> FWIW this works for me (with a slightly outdated Guix System):
>
> florian ~$ guix environment --ad-hoc chicken
> florian ~ [env]$ cd /tmp
> florian /tmp [env]$ cat a.scm
> (display (exp 2))
> (newline)
> florian /tmp [env]$ csc a.scm
> florian /tmp [env]$ ./a
> 7.38905609893065
>
> Is your program more complicated? I do not really know Chicken, maybe
> some GCC search path is wrong. Don’t know.
>
> Regards,
> Florian

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

* Re: GCC and Chicken-Scheme compilation
  2020-01-30 16:34   ` Ekaitz at ElenQ Technology
@ 2020-01-30 18:51     ` pelzflorian (Florian Pelz)
       [not found]       ` <VlJEd8ck9jxEGy2lGsKn84Z6_h7r-M5nY5PIPzvS2iqOhJM_Zvq3J2UqXLVPq7CjkEj6JHsfDxoX3Qx8Ji32_MvYlCXYobpOo4Y647cL9n8=@elenq.tech>
  0 siblings, 1 reply; 7+ messages in thread
From: pelzflorian (Florian Pelz) @ 2020-01-30 18:51 UTC (permalink / raw)
  To: Ekaitz at ElenQ Technology; +Cc: help-guix\\@gnu.org

On Thu, Jan 30, 2020 at 04:34:01PM +0000, Ekaitz at ElenQ Technology wrote:
> Hi,
> 
> My program is just a `(print "Chicken")`.
> 
> I just made a C program that loads math.h and makes a log and it works well but the Chicken compiler still fails.
> 
> Can you show me your LIBRARY_PATH?
> 

I tried with --pure now:

florian@florianmacbook /tmp$ guix environment --pure --ad-hoc chicken gcc-toolchain
…
florian@florianmacbook /tmp [env]$ csc a.scm 
florian@florianmacbook /tmp [env]$ ./a 
Chicken
florian@florianmacbook /tmp [env]$ echo $LIBRARY_PATH
/gnu/store/h935sldgi0zh1aiza4x4imwj7mln9ygj-profile/lib
florian@florianmacbook /tmp$ ls -l /gnu/store/h935sldgi0zh1aiza4x4imwj7mln9ygj-profile/lib
insgesamt 360
lrwxrwxrwx 9 root root 73  1. Jan 1970  audit -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/audit
lrwxrwxrwx 9 root root 74  1. Jan 1970  crt1.o -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/crt1.o
lrwxrwxrwx 9 root root 74  1. Jan 1970  crti.o -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/crti.o
lrwxrwxrwx 9 root root 74  1. Jan 1970  crtn.o -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/crtn.o
lrwxrwxrwx 9 root root 73  1. Jan 1970  debug -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/debug
lrwxrwxrwx 9 root root 73  1. Jan 1970  gconv -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/gconv
lrwxrwxrwx 9 root root 75  1. Jan 1970  gcrt1.o -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/gcrt1.o
lrwxrwxrwx 9 root root 78  1. Jan 1970  ld-2.29.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/ld-2.29.so
lrwxrwxrwx 9 root root 88  1. Jan 1970  ld-linux-x86-64.so.2 -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/ld-linux-x86-64.so.2
lrwxrwxrwx 9 root root 82  1. Jan 1970  libanl-2.29.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libanl-2.29.so
lrwxrwxrwx 9 root root 76  1. Jan 1970  libanl.a -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libanl.a
lrwxrwxrwx 9 root root 77  1. Jan 1970  libanl.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libanl.so
lrwxrwxrwx 9 root root 79  1. Jan 1970  libanl.so.1 -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libanl.so.1
lrwxrwxrwx 9 root root 76  1. Jan 1970  libbfd.a -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libbfd.a
lrwxrwxrwx 9 root root 77  1. Jan 1970  libbfd.la -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libbfd.la
lrwxrwxrwx 9 root root 91  1. Jan 1970  libBrokenLocale-2.29.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libBrokenLocale-2.29.so
lrwxrwxrwx 9 root root 85  1. Jan 1970  libBrokenLocale.a -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libBrokenLocale.a
lrwxrwxrwx 9 root root 86  1. Jan 1970  libBrokenLocale.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libBrokenLocale.so
lrwxrwxrwx 9 root root 88  1. Jan 1970  libBrokenLocale.so.1 -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libBrokenLocale.so.1
lrwxrwxrwx 9 root root 80  1. Jan 1970  libc-2.29.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libc-2.29.so
lrwxrwxrwx 9 root root 74  1. Jan 1970  libc.a -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libc.a
lrwxrwxrwx 3 root root 74  1. Jan 1970  libchicken.a -> /gnu/store/k85zs837x6pr61l37gfz92h3nljr8ka7-chicken-5.0.0/lib/libchicken.a
lrwxrwxrwx 3 root root 75  1. Jan 1970  libchicken.so -> /gnu/store/k85zs837x6pr61l37gfz92h3nljr8ka7-chicken-5.0.0/lib/libchicken.so
lrwxrwxrwx 3 root root 77  1. Jan 1970  libchicken.so.9 -> /gnu/store/k85zs837x6pr61l37gfz92h3nljr8ka7-chicken-5.0.0/lib/libchicken.so.9
lrwxrwxrwx 9 root root 84  1. Jan 1970  libc_nonshared.a -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libc_nonshared.a
lrwxrwxrwx 9 root root 84  1. Jan 1970  libcrypt-2.29.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libcrypt-2.29.so
lrwxrwxrwx 9 root root 78  1. Jan 1970  libcrypt.a -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libcrypt.a
lrwxrwxrwx 9 root root 79  1. Jan 1970  libcrypt.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libcrypt.so
lrwxrwxrwx 9 root root 81  1. Jan 1970  libcrypt.so.1 -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libcrypt.so.1
lrwxrwxrwx 9 root root 75  1. Jan 1970  libc.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libc.so
lrwxrwxrwx 9 root root 77  1. Jan 1970  libc.so.6 -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libc.so.6
lrwxrwxrwx 9 root root 81  1. Jan 1970  libdl-2.29.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libdl-2.29.so
lrwxrwxrwx 9 root root 75  1. Jan 1970  libdl.a -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libdl.a
lrwxrwxrwx 9 root root 76  1. Jan 1970  libdl.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libdl.so
lrwxrwxrwx 9 root root 78  1. Jan 1970  libdl.so.2 -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libdl.so.2
lrwxrwxrwx 9 root root 74  1. Jan 1970  libg.a -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libg.a
lrwxrwxrwx 9 root root 79  1. Jan 1970  libm-2.29.a -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libm-2.29.a
lrwxrwxrwx 9 root root 80  1. Jan 1970  libm-2.29.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libm-2.29.so
lrwxrwxrwx 9 root root 74  1. Jan 1970  libm.a -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libm.a
lrwxrwxrwx 9 root root 79  1. Jan 1970  libmcheck.a -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libmcheck.a
lrwxrwxrwx 9 root root 82  1. Jan 1970  libmemusage.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libmemusage.so
lrwxrwxrwx 9 root root 75  1. Jan 1970  libm.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libm.so
lrwxrwxrwx 9 root root 77  1. Jan 1970  libm.so.6 -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libm.so.6
lrwxrwxrwx 9 root root 83  1. Jan 1970  libmvec-2.29.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libmvec-2.29.so
lrwxrwxrwx 9 root root 77  1. Jan 1970  libmvec.a -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libmvec.a
lrwxrwxrwx 9 root root 87  1. Jan 1970  libmvec_nonshared.a -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libmvec_nonshared.a
lrwxrwxrwx 9 root root 78  1. Jan 1970  libmvec.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libmvec.so
lrwxrwxrwx 9 root root 80  1. Jan 1970  libmvec.so.1 -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libmvec.so.1
lrwxrwxrwx 9 root root 82  1. Jan 1970  libnsl-2.29.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libnsl-2.29.so
lrwxrwxrwx 9 root root 79  1. Jan 1970  libnsl.so.1 -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libnsl.so.1
lrwxrwxrwx 9 root root 89  1. Jan 1970  libnss_compat-2.29.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libnss_compat-2.29.so
lrwxrwxrwx 9 root root 84  1. Jan 1970  libnss_compat.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libnss_compat.so
lrwxrwxrwx 9 root root 86  1. Jan 1970  libnss_compat.so.2 -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libnss_compat.so.2
lrwxrwxrwx 9 root root 85  1. Jan 1970  libnss_db-2.29.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libnss_db-2.29.so
lrwxrwxrwx 9 root root 80  1. Jan 1970  libnss_db.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libnss_db.so
lrwxrwxrwx 9 root root 82  1. Jan 1970  libnss_db.so.2 -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libnss_db.so.2
lrwxrwxrwx 9 root root 86  1. Jan 1970  libnss_dns-2.29.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libnss_dns-2.29.so
lrwxrwxrwx 9 root root 81  1. Jan 1970  libnss_dns.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libnss_dns.so
lrwxrwxrwx 9 root root 83  1. Jan 1970  libnss_dns.so.2 -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libnss_dns.so.2
lrwxrwxrwx 9 root root 88  1. Jan 1970  libnss_files-2.29.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libnss_files-2.29.so
lrwxrwxrwx 9 root root 83  1. Jan 1970  libnss_files.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libnss_files.so
lrwxrwxrwx 9 root root 85  1. Jan 1970  libnss_files.so.2 -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libnss_files.so.2
lrwxrwxrwx 9 root root 89  1. Jan 1970  libnss_hesiod-2.29.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libnss_hesiod-2.29.so
lrwxrwxrwx 9 root root 84  1. Jan 1970  libnss_hesiod.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libnss_hesiod.so
lrwxrwxrwx 9 root root 86  1. Jan 1970  libnss_hesiod.so.2 -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libnss_hesiod.so.2
lrwxrwxrwx 9 root root 80  1. Jan 1970  libopcodes.a -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libopcodes.a
lrwxrwxrwx 9 root root 81  1. Jan 1970  libopcodes.la -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libopcodes.la
lrwxrwxrwx 9 root root 83  1. Jan 1970  libpcprofile.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libpcprofile.so
lrwxrwxrwx 9 root root 86  1. Jan 1970  libpthread-2.29.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libpthread-2.29.so
lrwxrwxrwx 9 root root 80  1. Jan 1970  libpthread.a -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libpthread.a
lrwxrwxrwx 9 root root 81  1. Jan 1970  libpthread.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libpthread.so
lrwxrwxrwx 9 root root 83  1. Jan 1970  libpthread.so.0 -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libpthread.so.0
lrwxrwxrwx 9 root root 85  1. Jan 1970  libresolv-2.29.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libresolv-2.29.so
lrwxrwxrwx 9 root root 79  1. Jan 1970  libresolv.a -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libresolv.a
lrwxrwxrwx 9 root root 80  1. Jan 1970  libresolv.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libresolv.so
lrwxrwxrwx 9 root root 82  1. Jan 1970  libresolv.so.2 -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libresolv.so.2
lrwxrwxrwx 9 root root 81  1. Jan 1970  librt-2.29.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/librt-2.29.so
lrwxrwxrwx 9 root root 75  1. Jan 1970  librt.a -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/librt.a
lrwxrwxrwx 9 root root 76  1. Jan 1970  librt.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/librt.so
lrwxrwxrwx 9 root root 78  1. Jan 1970  librt.so.1 -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/librt.so.1
lrwxrwxrwx 9 root root 82  1. Jan 1970  libSegFault.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libSegFault.so
lrwxrwxrwx 9 root root 87  1. Jan 1970  libthread_db-1.0.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libthread_db-1.0.so
lrwxrwxrwx 9 root root 83  1. Jan 1970  libthread_db.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libthread_db.so
lrwxrwxrwx 9 root root 85  1. Jan 1970  libthread_db.so.1 -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libthread_db.so.1
lrwxrwxrwx 9 root root 83  1. Jan 1970  libutil-2.29.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libutil-2.29.so
lrwxrwxrwx 9 root root 77  1. Jan 1970  libutil.a -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libutil.a
lrwxrwxrwx 9 root root 78  1. Jan 1970  libutil.so -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libutil.so
lrwxrwxrwx 9 root root 80  1. Jan 1970  libutil.so.1 -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/libutil.so.1
lrwxrwxrwx 9 root root 75  1. Jan 1970  Mcrt1.o -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/Mcrt1.o
lrwxrwxrwx 9 root root 75  1. Jan 1970  Scrt1.o -> /gnu/store/ij38zh495f81xpzmp4qzqz4fprczwck2-gcc-toolchain-9.2.0/lib/Scrt1.o


Hope it helps.

Regards,
Florian

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

* Re: GCC and Chicken-Scheme compilation
       [not found]           ` <20200130212716.ed54n4u2oabghlv3@pelzflorian.localdomain>
@ 2020-01-30 21:33             ` Ekaitz at ElenQ Technology
  2020-01-31  7:10               ` pelzflorian (Florian Pelz)
  0 siblings, 1 reply; 7+ messages in thread
From: Ekaitz at ElenQ Technology @ 2020-01-30 21:33 UTC (permalink / raw)
  To: pelzflorian (Florian Pelz), help-guix\@gnu.org

Hi all

Sorry I broke the thread hitting reply instead of reply all.


I tested and it works!
The problem is I thought chicken was going to install all the necessary tooling but it didn't. So I needed to install gcc-toolchain by hand.

Why doesn't chicken include gcc-toolchain as a dependency then?

Is there any reason or do we need to add it in the package definition?

Thank you!

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

* Re: GCC and Chicken-Scheme compilation
  2020-01-30 21:33             ` Ekaitz at ElenQ Technology
@ 2020-01-31  7:10               ` pelzflorian (Florian Pelz)
  2020-01-31 10:35                 ` Ekaitz at ElenQ Technology
  0 siblings, 1 reply; 7+ messages in thread
From: pelzflorian (Florian Pelz) @ 2020-01-31  7:10 UTC (permalink / raw)
  To: Ekaitz at ElenQ Technology; +Cc: help-guix\@gnu.org

On Thu, Jan 30, 2020 at 09:33:24PM +0000, Ekaitz at ElenQ Technology wrote:
> I tested and it works!

:)


> The problem is I thought chicken was going to install all the necessary tooling but it didn't. So I needed to install gcc-toolchain by hand.
> 
> Why doesn't chicken include gcc-toolchain as a dependency then?
> 
> Is there any reason or do we need to add it in the package definition?
> 
> Thank you!


Possibly if r-irkernel propagates the R toolchain
<https://lists.gnu.org/archive/html/guix-patches/2020-01/msg00255.html>
then Chicken should propagate the GCC toolchain?  Don’t know.

I find a few open Guix bugs on other issues with chicken.

I find unconcluded (?) discussions on this here:

https://lists.gnu.org/archive/html/help-guix/2016-06/msg00131.html
continued as:
https://lists.gnu.org/archive/html/help-guix/2016-07/msg00004.html

I suppose there is no reason and someone just needs to fix Chicken.

Regards,
Florian

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

* Re: GCC and Chicken-Scheme compilation
  2020-01-31  7:10               ` pelzflorian (Florian Pelz)
@ 2020-01-31 10:35                 ` Ekaitz at ElenQ Technology
  0 siblings, 0 replies; 7+ messages in thread
From: Ekaitz at ElenQ Technology @ 2020-01-31 10:35 UTC (permalink / raw)
  To: pelzflorian (Florian Pelz); +Cc: help-guix\\@gnu.org

Hi,

It's probably going to be me.

Thanks for the links. I'll read them deeply and send a patch.

Thank you for your help.


ElenQ Technology
Ethical Innovation

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Friday, January 31, 2020 8:10 AM, pelzflorian (Florian Pelz) <pelzflorian@pelzflorian.de> wrote:

> On Thu, Jan 30, 2020 at 09:33:24PM +0000, Ekaitz at ElenQ Technology wrote:
>
> > I tested and it works!
>
> :)
>
> > The problem is I thought chicken was going to install all the necessary tooling but it didn't. So I needed to install gcc-toolchain by hand.
> > Why doesn't chicken include gcc-toolchain as a dependency then?
> > Is there any reason or do we need to add it in the package definition?
> > Thank you!
>
> Possibly if r-irkernel propagates the R toolchain
> https://lists.gnu.org/archive/html/guix-patches/2020-01/msg00255.html
> then Chicken should propagate the GCC toolchain? Don’t know.
>
> I find a few open Guix bugs on other issues with chicken.
>
> I find unconcluded (?) discussions on this here:
>
> https://lists.gnu.org/archive/html/help-guix/2016-06/msg00131.html
> continued as:
> https://lists.gnu.org/archive/html/help-guix/2016-07/msg00004.html
>
> I suppose there is no reason and someone just needs to fix Chicken.
>
> Regards,
> Florian

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

end of thread, other threads:[~2020-01-31 10:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-30 14:45 GCC and Chicken-Scheme compilation Ekaitz at ElenQ Technology
2020-01-30 15:33 ` pelzflorian (Florian Pelz)
2020-01-30 16:34   ` Ekaitz at ElenQ Technology
2020-01-30 18:51     ` pelzflorian (Florian Pelz)
     [not found]       ` <VlJEd8ck9jxEGy2lGsKn84Z6_h7r-M5nY5PIPzvS2iqOhJM_Zvq3J2UqXLVPq7CjkEj6JHsfDxoX3Qx8Ji32_MvYlCXYobpOo4Y647cL9n8=@elenq.tech>
     [not found]         ` <20200130212207.w3tuvoltyg22gkxg@pelzflorian.localdomain>
     [not found]           ` <20200130212716.ed54n4u2oabghlv3@pelzflorian.localdomain>
2020-01-30 21:33             ` Ekaitz at ElenQ Technology
2020-01-31  7:10               ` pelzflorian (Florian Pelz)
2020-01-31 10:35                 ` Ekaitz at ElenQ Technology

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

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.