Package Details: pcc 1.1.0-1

Git Clone URL: https://aur.archlinux.org/pcc.git (read-only)
Package Base: pcc
Description: A Portable C Compiler
Upstream URL: http://pcc.ludd.ltu.se/
Keywords: compiler lightweight portable
Licenses: custom:BSD
Submitter: andreas_baumann
Maintainer: edh
Last Packager: edh
Votes: 19
Popularity: 0.000257
First Submitted: 2009-03-13 10:02
Last Updated: 2017-07-02 12:29

Latest Comments

1 2 Next › Last »

edh commented on 2017-07-02 12:31

@andreas_baumann
I added your patch to the package. Thanks for working on this.

andreas_baumann commented on 2017-07-02 11:56

@edh: very good point you are making here about maintainance on AUR. :-)

So I added a patch here:

https://github.com/andreasbaumann/arch/tree/master/adapted/pcc

Note: the CVS/current version is already fixed (differently).
This patch is only a backport for the 1.1.0 release of pcc.

edh commented on 2017-07-02 11:05

@andreas_baumann
Since you are already in contact with the developer, I would recommend you to send the patch to him. There would be no patching required at all if it would be merged.

Btw. it would not make sense to split the AUR by architecture. Hence maintainers may or may not keep support for old architectures in the AUR depending on their workload.

andreas_baumann commented on 2017-07-02 08:07

Found it. But as ArchLinux drops 32-bit, it's debatable whether we should
patch this package here. I don't know what the plans are for ArchLinux32
and the AUR? Will there be an AUR for 32-bit additionally, then the patch
can go there.

andreas_baumann commented on 2017-07-02 07:45

I can confirm that I can compile the package without any problems on 64-bit.
I tried a second compilation in an Arch32 environment, and this one fails again.
So the error must be somewhere there.. I'm digging. :-)

andreas_baumann commented on 2017-07-02 07:41

I opened a discusion with the author in

http://pcc.ludd.ltu.se/jira/browse/PCC-584

andreas_baumann commented on 2017-07-02 07:26

mmh. really strange.

My output looks like this:

https://gist.github.com/andreasbaumann/674b3f83695ceabf341334d2601b8425

The only difference I can see is the CPU architecture (and yes, the /bin
instead of /usr/bin).

Diffing the code of cc.c I see:

1.1.0 version:

#ifndef DEFLIBDIRS /* default library search paths */
#ifdef MULTIARCH_PATH
#define DEFLIBDIRS { "/usr/lib/", 0 }
#else
#define DEFLIBDIRS { "/usr/lib/", "/usr/lib/" MULTIARCH_PATH "/", 0 }
#endif
#endif

current CVS version:

#ifndef LIBDIR
#define LIBDIR "/usr/lib/"
#endif
#ifndef DEFLIBDIRS /* default library search paths */
#ifdef MULTIARCH_PATH
#define DEFLIBDIRS { LIBDIR, LIBDIR MULTIARCH_PATH "/", 0 }
#else
#define DEFLIBDIRS { LIBDIR, 0 }
#endif
#endif

The 1.1.0 version is clearly wrong in my brain and cannot possibly work
without creating a compilation error. :-)

edh commented on 2017-07-01 17:19

@andreas_baumann
In the container I am using the default parameters from /etc/makepkg.conf and my configure output looks like this: https://gist.github.com/Edenhofer/1db77d8e4ac7ec84d5a7dd001775dd6a . However I do compile on an 64-bit machine (see the above output).
Since this package does not require any dependencies from multilib, it should be irrelevant whether I have it enable or not. Nevertheless in order to answer your question: No, the container does not contain any packages from multilib.

andreas_baumann commented on 2017-07-01 16:57

What does the output of configure say?

Using Multi-Arch path ............ (no)

Are you compiling on a 64-bit machine?
With or without multilib installed.

I'm building on a 32-bit machine.

edh commented on 2017-07-01 16:44

@andreas_baumann
Sorry, but I can not reproduce your error messages in a clean chroot. Furthermore the compiler is working as expected for me.

P.S.: It is not necessary to comment and flag the package as out-of-date. One action is sufficient.