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.000000
First Submitted: 2009-03-13 10:02
Last Updated: 2019-07-10 12:32

Latest Comments

1 2 Next › Last »

newbthenewbd commented on 2019-09-25 12:06

The package seems to be affected by this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1551537

The published workaround of using the -D__float128="long double" option makes it successfully compile, albeit not without a warning.

edh commented on 2019-07-10 12:32

Dropped i686 support as a response.

@cbb It was not some random gist! It was a patch by the previous AUR maintainer hosted on GitHub. Unfortunately, he seem to have deleted it.

cbb commented on 2019-07-10 11:36

This package is now broken because the patch file is no longer online. I suspected this would happen when I read the PKGBUILD, even before I tried to install it. Making a package depend on some random Gist is just asking for it...

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. :-)